BigW Consortium Gitlab

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

  %li.separate-item

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

37
    - if @project.builds_enabled?
38
      = nav_link(controller: :runners) do
39
        = link_to namespace_project_runners_path(@project.namespace, @project), title: 'Runners' do
40 41 42
          = icon('cog fw')
          %span
            Runners
43
      = nav_link(controller: :variables) do
44
        = link_to namespace_project_variables_path(@project.namespace, @project), title: 'Variables' do
45 46 47
          = icon('code fw')
          %span
            Variables
48
      = nav_link path: 'triggers#index' do
49
        = link_to namespace_project_triggers_path(@project.namespace, @project), title: 'Triggers' do
50 51 52
          = icon('retweet fw')
          %span
            Triggers