2008-07-25 08:26:05 +00:00
|
|
|
<script type="text/javascript" src="{media '/idf/js/jquery.hotkeys.js'}"></script>
|
|
|
|
{if $project}
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
// <!--
|
2008-08-05 10:07:04 +00:00
|
|
|
{hotkey 'Shift+h', 'IDF_Views_Project::home', array($project.shortname)}
|
2008-08-07 13:35:03 +00:00
|
|
|
{if $hasIssuesAccess}{hotkey 'Shift+a', 'IDF_Views_Issue::create', array($project.shortname)}
|
|
|
|
{hotkey 'Shift+i', 'IDF_Views_Issue::index', array($project.shortname)}{/if}
|
|
|
|
{if $hasDownloadsAccess}{hotkey 'Shift+d', 'IDF_Views_Download::index', array($project.shortname)}{/if}
|
2008-09-12 10:38:13 +00:00
|
|
|
{if $hasSourceAccess}{hotkey 'Shift+s', 'IDF_Views_Source::treeBase', array($project.shortname, $project.getScmRoot())}{/if}
|
2008-08-07 13:35:03 +00:00
|
|
|
{if $hasIssuesAccess and !$user.isAnonymous()}
|
2008-07-25 09:16:18 +00:00
|
|
|
{hotkey 'Shift+m', 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')}
|
2008-07-25 09:17:56 +00:00
|
|
|
{hotkey 'Shift+w', 'IDF_Views_Issue::myIssues', array($project.shortname, 'owner')}
|
2008-07-25 09:16:18 +00:00
|
|
|
{/if} //-->
|
2008-07-25 08:26:05 +00:00
|
|
|
</script>
|
|
|
|
{/if}
|