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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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 @@
...
@@ -47,7 +47,7 @@
border-left
:
3px
solid
$style_color
;
border-left
:
3px
solid
$style_color
;
&
.no-highlight
{
&
.no-highlight
{
background
:
none
;
background
:
none
!
important
;
border
:
none
;
border
:
none
;
}
}
...
...
app/views/layouts/nav/_project.html.haml
View file @
12589d33
...
@@ -6,12 +6,7 @@
...
@@ -6,12 +6,7 @@
%span
%span
Back to project
Back to project
=
nav_link
(
html_options:
{
class:
"
#{
project_tab_class
}
separate-item"
})
do
%li
.separate-item
=
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
=
render
'projects/settings_nav'
=
render
'projects/settings_nav'
...
@@ -98,4 +93,3 @@
...
@@ -98,4 +93,3 @@
%i
.fa.fa-cogs
%i
.fa.fa-cogs
%span
%span
Settings
Settings
%i
.fa.fa-angle-down
features/steps/shared/project_tab.rb
View file @
12589d33
...
@@ -41,6 +41,8 @@ module SharedProjectTab
...
@@ -41,6 +41,8 @@ module SharedProjectTab
end
end
step
'the active main tab should be Settings'
do
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
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