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
12589d33
Commit
12589d33
authored
Feb 23, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve sidebar menu for project settings
parent
a4118ca4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
app/assets/stylesheets/sections/nav_sidebar.scss
app/assets/stylesheets/sections/nav_sidebar.scss
+1
-1
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+1
-7
features/steps/shared/project_tab.rb
features/steps/shared/project_tab.rb
+3
-1
No files found.
app/assets/stylesheets/sections/nav_sidebar.scss
View file @
12589d33
...
...
@@ -47,7 +47,7 @@
border-left
:
3px
solid
$style_color
;
&
.no-highlight
{
background
:
none
;
background
:
none
!
important
;
border
:
none
;
}
...
...
app/views/layouts/nav/_project.html.haml
View file @
12589d33
...
...
@@ -6,12 +6,7 @@
%span
Back to project
=
nav_link
(
html_options:
{
class:
"
#{
project_tab_class
}
separate-item"
})
do
=
link_to
edit_namespace_project_path
(
@project
.
namespace
,
@project
),
title:
'Settings'
,
class:
"stat-tab tab no-highlight"
do
%i
.fa.fa-cogs
%span
Settings
%i
.fa.fa-angle-down
%li
.separate-item
=
render
'projects/settings_nav'
...
...
@@ -98,4 +93,3 @@
%i
.fa.fa-cogs
%span
Settings
%i
.fa.fa-angle-down
features/steps/shared/project_tab.rb
View file @
12589d33
...
...
@@ -41,6 +41,8 @@ module SharedProjectTab
end
step
'the active main tab should be Settings'
do
ensure_active_main_tab
(
'Settings'
)
within
'.nav-sidebar'
do
page
.
should
have_content
(
'Back to project'
)
end
end
end
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