Commit 4739e4a7 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Fixed some typos inside the _project.html.haml partial

parent 6a48714b
...@@ -56,13 +56,13 @@ ...@@ -56,13 +56,13 @@
Snippets Snippets
- if project_nav_tab? :settings - 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 - if can_edit
= link_to edit_project_path(@project), title: 'Settings', class: 'shortcuts-tree' do = link_to edit_project_path(@project), title: 'Settings', class: 'shortcuts-tree' do
%span %span
Settings Settings
- else - else
= link_to edit_project_path(@path), title: 'Settings', class: 'shortcuts-tree' do = link_to edit_project_path(@project), title: 'Settings', class: 'shortcuts-tree' do
%span %span
Settings Settings
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.scrolling-tabs-container.sub-nav-scroll .scrolling-tabs-container.sub-nav-scroll
= render 'shared/nav_scroll' = render 'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs .nav-links.sub-nav.scrolling-tabs
%ul{ class: (container_class) } %ul{ class: container_class }
- can_edit = can?(current_user, :admin_project, @project) - can_edit = can?(current_user, :admin_project, @project)
- if can_edit - if can_edit
= nav_link(controller: :projects) do = nav_link(controller: :projects) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment