BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
86f3ae0c
Commit
86f3ae0c
authored
Mar 30, 2017
by
Annabel Dunstone Gray
Committed by
Jacob Schatz
Apr 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change todos shortcut to shift
parent
b19538d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
shortcuts.js
app/assets/javascripts/shortcuts.js
+3
-0
_shortcuts.html.haml
app/views/help/_shortcuts.html.haml
+6
-1
No files found.
app/assets/javascripts/shortcuts.js
View file @
86f3ae0c
...
...
@@ -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'
);
});
...
...
app/views/help/_shortcuts.html.haml
View file @
86f3ae0c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment