Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
b19538d1
Commit
b19538d1
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 shortcuts
parent
e220eecb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/shortcuts_navigation.js
app/assets/javascripts/shortcuts_navigation.js
+2
-2
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+2
-2
No files found.
app/assets/javascripts/shortcuts_navigation.js
View file @
b19538d1
...
@@ -25,7 +25,7 @@ require('./shortcuts');
...
@@ -25,7 +25,7 @@ require('./shortcuts');
Mousetrap
.
bind
(
'
g c
'
,
function
()
{
Mousetrap
.
bind
(
'
g c
'
,
function
()
{
return
ShortcutsNavigation
.
findAndFollowLink
(
'
.shortcuts-commits
'
);
return
ShortcutsNavigation
.
findAndFollowLink
(
'
.shortcuts-commits
'
);
});
});
Mousetrap
.
bind
(
'
g
b
'
,
function
()
{
Mousetrap
.
bind
(
'
g
j
'
,
function
()
{
return
ShortcutsNavigation
.
findAndFollowLink
(
'
.shortcuts-builds
'
);
return
ShortcutsNavigation
.
findAndFollowLink
(
'
.shortcuts-builds
'
);
});
});
Mousetrap
.
bind
(
'
g n
'
,
function
()
{
Mousetrap
.
bind
(
'
g n
'
,
function
()
{
...
@@ -37,7 +37,7 @@ require('./shortcuts');
...
@@ -37,7 +37,7 @@ require('./shortcuts');
Mousetrap
.
bind
(
'
g i
'
,
function
()
{
Mousetrap
.
bind
(
'
g i
'
,
function
()
{
return
ShortcutsNavigation
.
findAndFollowLink
(
'
.shortcuts-issues
'
);
return
ShortcutsNavigation
.
findAndFollowLink
(
'
.shortcuts-issues
'
);
});
});
Mousetrap
.
bind
(
'
g
l
'
,
function
()
{
Mousetrap
.
bind
(
'
g
b
'
,
function
()
{
ShortcutsNavigation
.
findAndFollowLink
(
'
.shortcuts-issue-boards
'
);
ShortcutsNavigation
.
findAndFollowLink
(
'
.shortcuts-issue-boards
'
);
});
});
Mousetrap
.
bind
(
'
g m
'
,
function
()
{
Mousetrap
.
bind
(
'
g m
'
,
function
()
{
...
...
app/views/layouts/nav/_dashboard.html.haml
View file @
b19538d1
...
@@ -19,13 +19,13 @@
...
@@ -19,13 +19,13 @@
=
nav_link
(
controller:
[
:groups
,
'groups/milestones'
,
'groups/group_members'
])
do
=
nav_link
(
controller:
[
:groups
,
'groups/milestones'
,
'groups/group_members'
])
do
=
link_to
dashboard_groups_path
,
class:
'dashboard-shortcuts-groups'
,
title:
'Groups'
do
=
link_to
dashboard_groups_path
,
class:
'dashboard-shortcuts-groups'
,
title:
'Groups'
do
.shortcut-mappings
.shortcut-mappings
.key
shift
l
.key
shift
g
%span
%span
Groups
Groups
=
nav_link
(
controller:
'dashboard/milestones'
)
do
=
nav_link
(
controller:
'dashboard/milestones'
)
do
=
link_to
dashboard_milestones_path
,
class:
'dashboard-shortcuts-milestones'
,
title:
'Milestones'
do
=
link_to
dashboard_milestones_path
,
class:
'dashboard-shortcuts-milestones'
,
title:
'Milestones'
do
.shortcut-mappings
.shortcut-mappings
.key
shift
w
.key
shift
l
%span
%span
Milestones
Milestones
=
nav_link
(
path:
'dashboard#issues'
)
do
=
nav_link
(
path:
'dashboard#issues'
)
do
...
...
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