diff --git a/app/assets/javascripts/shortcuts.js b/app/assets/javascripts/shortcuts.js index 4a09cdfe99f..ac895bcee47 100644 --- a/app/assets/javascripts/shortcuts.js +++ b/app/assets/javascripts/shortcuts.js @@ -31,6 +31,9 @@ $('.global-dropdown-toggle').trigger('click'); }); + Mousetrap.bind('shift+t', function() { + return ShortcutsDashboardNavigation.findAndFollowLink('.shortcuts-todos'); + }); Mousetrap.bind('shift+a', function() { return ShortcutsDashboardNavigation.findAndFollowLink('.dashboard-shortcuts-activity'); }); diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml index a20d3e3a235..0281fb5a98b 100644 --- a/app/views/help/_shortcuts.html.haml +++ b/app/views/help/_shortcuts.html.haml @@ -97,7 +97,12 @@ %tbody.hidden-shortcut.project{ style: 'display:none' } %tr %th - %th Global Dashboard + %th Global Shortcuts + %tr + %td.shortcut + .key shift t + %td + Go to todos %tr %td.shortcut .key shift a