_head.html.haml 489 Bytes
Newer Older
Annabel Dunstone's avatar
Annabel Dunstone committed
1 2 3 4 5 6 7
%ul.nav-links.sub-nav
  %div{ class: (container_class) }
    - if project_nav_tab? :pipelines
      = nav_link(controller: :pipelines) do
        = link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do
          %span
            Pipelines
8

Annabel Dunstone's avatar
Annabel Dunstone committed
9 10 11 12 13
    - if project_nav_tab? :builds
      = nav_link(controller: %w(builds)) do
        = link_to project_builds_path(@project), title: 'Builds', class: 'shortcuts-builds' do
          %span
            Builds