BigW Consortium Gitlab

_project_settings.html.haml 1.22 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
        Deploy Keys
11
  = nav_link(controller: :integrations) do
12
    = link_to namespace_project_settings_integrations_path(@project.namespace, @project), title: 'Integrations' do
13
      %span
14
        Integrations
15 16
  = nav_link(controller: :protected_branches) do
    = link_to namespace_project_protected_branches_path(@project.namespace, @project), title: 'Protected Branches' do
17
      %span
18 19
        Protected Branches

20
  - if @project.feature_available?(:builds, current_user)
21 22
    = nav_link(controller: :ci_cd) do
      = link_to namespace_project_settings_ci_cd_path(@project.namespace, @project), title: 'CI/CD Pipelines' do
23
        %span
24
          CI/CD Pipelines
25 26 27 28
  = nav_link(controller: :pages) do
    = link_to namespace_project_pages_path(@project.namespace, @project), title: 'Pages', data: {placement: 'right'} do
      %span
        Pages