Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_head.html.haml « pipelines « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2c8ae625e6792105f8504a5ab0bdee978f4afa8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%ul.nav-links
  - if project_nav_tab? :pipelines
    = nav_link(controller: :pipelines) do
      = link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do
        %span
          Pipelines
          %span.badge.count.ci_counter= number_with_delimiter(@project.ci_commits.running_or_pending.count)

  - 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
          %span.badge.count.builds_counter= number_with_delimiter(@project.builds.running_or_pending.count(:all))