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
Jérome Perrin
gitlab-ce
Commits
82ababf0
Commit
82ababf0
authored
Mar 29, 2017
by
Annabel Dunstone Gray
Committed by
Jacob Schatz
Apr 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix layout of shortcut keys in dropdown
parent
cba47179
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
29 deletions
+22
-29
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+8
-15
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+14
-14
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
82ababf0
...
...
@@ -191,26 +191,19 @@
display
:
none
;
}
&
.shortcuts
span
{
display
:
inline-block
;
width
:
140px
;
}
&
.shortcuts
.kbd
{
background-color
:
$gray-light
;
color
:
$gl-text-color
;
border
:
1px
solid
$gray-darkest
;
box-shadow
:
0
-1px
0
$gray-darkest
inset
;
display
:
inline-block
;
padding
:
3px
5px
;
vertical-align
:
top
;
padding
:
3px
0
;
margin-right
:
5px
;
font-size
:
11px
;
line-height
:
10px
;
color
:
#555
;
vertical-align
:
middle
;
background-color
:
#fcfcfc
;
border-width
:
1px
;
border-style
:
solid
;
border-color
:
#ccc
#ccc
#bbb
;
border-image
:
none
;
border-radius
:
3px
;
box-shadow
:
0
-1px
0
#bbb
inset
;
width
:
21px
;
width
:
20px
;
text-align
:
center
;
}
...
...
app/views/layouts/nav/_dashboard.html.haml
View file @
82ababf0
%ul
=
nav_link
(
path:
[
'root#index'
,
'projects#trending'
,
'projects#starred'
,
'dashboard/projects#index'
],
html_options:
{
class:
"
#{
project_tab_class
}
home"
})
do
=
link_to
dashboard_projects_path
,
title:
'Projects'
,
class:
'dashboard-shortcuts-projects'
do
%span
Projects
.kbd
P
%span
Projects
=
nav_link
(
path:
'dashboard#activity'
)
do
=
link_to
activity_dashboard_path
,
class:
'dashboard-shortcuts-activity'
,
title:
'Activity'
do
%span
Activity
.kbd
A
%span
Activity
-
if
koding_enabled?
=
nav_link
(
controller: :koding
)
do
=
link_to
koding_path
,
title:
'Koding'
do
...
...
@@ -18,36 +18,36 @@
Koding
=
nav_link
(
controller:
[
:groups
,
'groups/milestones'
,
'groups/group_members'
])
do
=
link_to
dashboard_groups_path
,
class:
'dashboard-shortcuts-groups'
,
title:
'Groups'
do
%span
Groups
.kbd
G
%span
Groups
=
nav_link
(
controller:
'dashboard/milestones'
)
do
=
link_to
dashboard_milestones_path
,
class:
'dashboard-shortcuts-milestones'
,
title:
'Milestones'
do
%span
Milestones
.kbd
L
%span
Milestones
=
nav_link
(
path:
'dashboard#issues'
)
do
=
link_to
assigned_issues_dashboard_path
,
title:
'Issues'
,
class:
'dashboard-shortcuts-issues'
do
.kbd
I
%span
Issues
.badge
=
number_with_delimiter
(
cached_assigned_issuables_count
(
current_user
,
:issues
,
:opened
))
.kbd
I
=
nav_link
(
path:
'dashboard#merge_requests'
)
do
=
link_to
assigned_mrs_dashboard_path
,
title:
'Merge Requests'
,
class:
'dashboard-shortcuts-merge_requests'
do
.kbd
M
%span
Merge Requests
.badge
=
number_with_delimiter
(
cached_assigned_issuables_count
(
current_user
,
:merge_requests
,
:opened
))
.kbd
M
=
nav_link
(
controller:
'dashboard/snippets'
)
do
=
link_to
dashboard_snippets_path
,
class:
'dashboard-shortcuts-snippets'
,
title:
'Snippets'
do
%span
Snippets
.kbd
S
%span
Snippets
%li
.divider
%li
=
link_to
"Help"
,
help_path
,
title:
'About GitLab CE'
,
class:
'about-gitlab'
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