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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
62da53af
Commit
62da53af
authored
Jul 13, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide icon for bact-to-location menu in sidebar
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
00053c80
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
6 deletions
+12
-6
app/assets/stylesheets/generic/sidebar.scss
app/assets/stylesheets/generic/sidebar.scss
+6
-0
app/views/layouts/nav/_group.html.haml
app/views/layouts/nav/_group.html.haml
+1
-1
app/views/layouts/nav/_group_settings.html.haml
app/views/layouts/nav/_group_settings.html.haml
+1
-1
app/views/layouts/nav/_profile.html.haml
app/views/layouts/nav/_profile.html.haml
+1
-1
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+2
-2
app/views/layouts/nav/_project_settings.html.haml
app/views/layouts/nav/_project_settings.html.haml
+1
-1
No files found.
app/assets/stylesheets/generic/sidebar.scss
View file @
62da53af
...
@@ -96,6 +96,12 @@
...
@@ -96,6 +96,12 @@
.nav-sidebar
li
a
{
.nav-sidebar
li
a
{
width
:
230px
;
width
:
230px
;
&
.back-link
{
i
{
visibility
:
hidden
;
}
}
}
}
}
}
}
}
...
...
app/views/layouts/nav/_group.html.haml
View file @
62da53af
%ul
.nav.nav-sidebar
%ul
.nav.nav-sidebar
=
nav_link
do
=
nav_link
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
}
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
}
,
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to Dashboard
Back to Dashboard
...
...
app/views/layouts/nav/_group_settings.html.haml
View file @
62da53af
%ul
.nav.nav-sidebar
%ul
.nav.nav-sidebar
=
nav_link
do
=
nav_link
do
=
link_to
group_path
(
@group
),
title:
'Back to group'
,
data:
{
placement:
'right'
}
do
=
link_to
group_path
(
@group
),
title:
'Back to group'
,
data:
{
placement:
'right'
}
,
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to group
Back to group
...
...
app/views/layouts/nav/_profile.html.haml
View file @
62da53af
%ul
.nav.nav-sidebar
%ul
.nav.nav-sidebar
=
nav_link
do
=
nav_link
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
}
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
}
,
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to Dashboard
Back to Dashboard
...
...
app/views/layouts/nav/_project.html.haml
View file @
62da53af
%ul
.nav.nav-sidebar
%ul
.nav.nav-sidebar
-
if
@project
.
group
-
if
@project
.
group
=
nav_link
do
=
nav_link
do
=
link_to
group_path
(
@project
.
group
),
title:
'Back to group'
,
data:
{
placement:
'right'
}
do
=
link_to
group_path
(
@project
.
group
),
title:
'Back to group'
,
data:
{
placement:
'right'
}
,
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to Group
Back to Group
-
else
-
else
=
nav_link
do
=
nav_link
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
}
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
}
,
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to Dashboard
Back to Dashboard
...
...
app/views/layouts/nav/_project_settings.html.haml
View file @
62da53af
%ul
.nav.nav-sidebar
%ul
.nav.nav-sidebar
=
nav_link
do
=
nav_link
do
=
link_to
project_path
(
@project
),
title:
'Back to project'
,
data:
{
placement:
'right'
}
do
=
link_to
project_path
(
@project
),
title:
'Back to project'
,
data:
{
placement:
'right'
}
,
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to project
Back to project
...
...
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