From d19dbb441c86740d6a2df2501cb5875a5fc34e19 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Fri, 25 Jul 2008 11:16:18 +0200 Subject: [PATCH] Added a hotkey tag to easily add them. Added a new Shift+m hotkey to access the list of submitted issues. --- src/IDF/Template/HotKey.php | 36 +++++++++++++++++++++++++++++++ src/IDF/templates/js-hotkeys.html | 11 +++++----- 2 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 src/IDF/Template/HotKey.php diff --git a/src/IDF/Template/HotKey.php b/src/IDF/Template/HotKey.php new file mode 100644 index 0000000..0c5a611 --- /dev/null +++ b/src/IDF/Template/HotKey.php @@ -0,0 +1,36 @@ + // +{hotkey 'Shift+a', 'IDF_Views_Issue::create', array($project.shortname)} +{hotkey 'Shift+r', 'IDF_Views_Issue::index', array($project.shortname)} +{if !$user.isAnonymous()} +{hotkey 'Shift+m', 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')} +{/if} //--> {/if}