_project_settings.html.haml 1.42 KB
Newer Older
1
%ul.nav.nav-sidebar
2
  = nav_link do
3
    = link_to project_path(@project), title: 'Back to project', data: {placement: 'right'}, class: 'back-link' do
4 5 6 7 8 9
      = icon('caret-square-o-left fw')
      %span
        Back to project

  %li.separate-item

10
  %ul.sidebar-subnav
11
    = nav_link(path: 'projects#edit') do
12
      = link_to edit_project_path(@project), title: 'Project Settings', data: {placement: 'right'} do
13
        = icon('pencil-square-o fw')
14
        %span
15
          Project Settings
16 17
    = nav_link(controller: :deploy_keys) do
      = link_to namespace_project_deploy_keys_path(@project.namespace, @project), title: 'Deploy Keys', data: {placement: 'right'} do
18
        = icon('key fw')
19 20 21 22
        %span
          Deploy Keys
    = nav_link(controller: :hooks) do
      = link_to namespace_project_hooks_path(@project.namespace, @project), title: 'Web Hooks', data: {placement: 'right'} do
23
        = icon('link fw')
24 25 26 27
        %span
          Web Hooks
    = nav_link(controller: :services) do
      = link_to namespace_project_services_path(@project.namespace, @project), title: 'Services', data: {placement: 'right'} do
28
        = icon('cogs fw')
29 30 31 32
        %span
          Services
    = nav_link(controller: :protected_branches) do
      = link_to namespace_project_protected_branches_path(@project.namespace, @project), title: 'Protected Branches', data: {placement: 'right'} do
33
        = icon('lock fw')
34
        %span
35
          Protected Branches
36