Added better keyboard shortcuts.

The list is available in the FAQ.
This commit is contained in:
Loic d'Anterroches 2008-08-05 12:07:04 +02:00
parent 9dedea0f9d
commit b4cac893a5
2 changed files with 8 additions and 2 deletions

View File

@ -11,8 +11,11 @@
<p>If you are in a project, you have the following shortcuts:</p> <p>If you are in a project, you have the following shortcuts:</p>
<ul> <ul>
<li><kbd>Shift+h</kbd>: Project home.</li>
<li><kbd>Shift+d</kbd>: Downloads.</li>
<li><kbd>Shift+s</kbd>: Source.</li>
<li><kbd>Shift+a</kbd>: Create a new issue.</li> <li><kbd>Shift+a</kbd>: Create a new issue.</li>
<li><kbd>Shift+r</kbd>: List of recently submitted issues.</li> <li><kbd>Shift+i</kbd>: List of recently submitted issues.</li>
<li><kbd>Shift+m</kbd>: The issues you submitted.</li> <li><kbd>Shift+m</kbd>: The issues you submitted.</li>
<li><kbd>Shift+w</kbd>: The issues assigned to you.</li> <li><kbd>Shift+w</kbd>: The issues assigned to you.</li>
</ul> </ul>

View File

@ -2,8 +2,11 @@
{if $project} {if $project}
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
// <!-- // <!--
{hotkey 'Shift+h', 'IDF_Views_Project::home', array($project.shortname)}
{hotkey 'Shift+a', 'IDF_Views_Issue::create', array($project.shortname)} {hotkey 'Shift+a', 'IDF_Views_Issue::create', array($project.shortname)}
{hotkey 'Shift+r', 'IDF_Views_Issue::index', array($project.shortname)} {hotkey 'Shift+i', 'IDF_Views_Issue::index', array($project.shortname)}
{hotkey 'Shift+d', 'IDF_Views_Download::index', array($project.shortname)}
{hotkey 'Shift+s', 'IDF_Views_Source::treeBase', array($project.shortname, 'master')}
{if !$user.isAnonymous()} {if !$user.isAnonymous()}
{hotkey 'Shift+m', 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')} {hotkey 'Shift+m', 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')}
{hotkey 'Shift+w', 'IDF_Views_Issue::myIssues', array($project.shortname, 'owner')} {hotkey 'Shift+w', 'IDF_Views_Issue::myIssues', array($project.shortname, 'owner')}