BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
4739e4a7
Commit
4739e4a7
authored
Mar 07, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some typos inside the _project.html.haml partial
parent
6a48714b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
_project.html.haml
app/views/layouts/nav/_project.html.haml
+2
-2
_head.html.haml
app/views/projects/settings/_head.html.haml
+1
-1
No files found.
app/views/layouts/nav/_project.html.haml
View file @
4739e4a7
...
...
@@ -56,13 +56,13 @@
Snippets
-
if
project_nav_tab?
:settings
=
nav_link
(
path:
[
'projects#edit'
,
'members#show'
,
'integrations#show'
,
'repository#show'
,
'ci_cd#show'
,
'pages#show'
])
do
=
nav_link
(
path:
%w[projects#edit members#show integrations#show repository#show ci_cd#show pages#show
]
)
do
-
if
can_edit
=
link_to
edit_project_path
(
@project
),
title:
'Settings'
,
class:
'shortcuts-tree'
do
%span
Settings
-
else
=
link_to
edit_project_path
(
@p
ath
),
title:
'Settings'
,
class:
'shortcuts-tree'
do
=
link_to
edit_project_path
(
@p
roject
),
title:
'Settings'
,
class:
'shortcuts-tree'
do
%span
Settings
...
...
app/views/projects/settings/_head.html.haml
View file @
4739e4a7
...
...
@@ -2,7 +2,7 @@
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
container_class
}
-
can_edit
=
can?
(
current_user
,
:admin_project
,
@project
)
-
if
can_edit
=
nav_link
(
controller: :projects
)
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