BigW Consortium Gitlab

_project_settings.html.haml 1.7 KB
Newer Older
1
- if project_nav_tab? :team
2 3
  = nav_link(controller: [:members, :teams]) do
    = link_to namespace_project_settings_members_path(@project.namespace, @project), title: 'Members', class: 'team-tab tab' do
4
      %span
5
        Members
6
- if can_edit
7 8
  = nav_link(controller: :deploy_keys) do
    = link_to namespace_project_deploy_keys_path(@project.namespace, @project), title: 'Deploy Keys' do
9
      %span
10 11 12
        Deploy Keys
  = nav_link(controller: :hooks) do
    = link_to namespace_project_hooks_path(@project.namespace, @project), title: 'Webhooks' do
13
      %span
14 15 16
        Webhooks
  = nav_link(controller: :services) do
    = link_to namespace_project_services_path(@project.namespace, @project), title: 'Services' do
17
      %span
18 19 20
        Services
  = nav_link(controller: :protected_branches) do
    = link_to namespace_project_protected_branches_path(@project.namespace, @project), title: 'Protected Branches' do
21
      %span
22 23
        Protected Branches

24
  - if @project.feature_available?(:builds, current_user)
25 26 27 28 29 30 31 32 33 34 35 36
    = nav_link(controller: :runners) do
      = link_to namespace_project_runners_path(@project.namespace, @project), title: 'Runners' do
        %span
          Runners
    = nav_link(controller: :variables) do
      = link_to namespace_project_variables_path(@project.namespace, @project), title: 'Variables' do
        %span
          Variables
    = nav_link(controller: :triggers) do
      = link_to namespace_project_triggers_path(@project.namespace, @project), title: 'Triggers' do
        %span
          Triggers
37 38
    = nav_link(controller: :pipelines_settings) do
      = link_to namespace_project_pipelines_settings_path(@project.namespace, @project), title: 'CI/CD Pipelines' do
39
        %span
40
          CI/CD Pipelines