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

_ci_menu.html.haml « commit « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b6e3e42ea1f5f5163fd588ebaefd785844587d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- any_pipelines = @commit.present(current_user: current_user).any_pipelines?

%ul.nav-links.no-top.no-bottom.commit-ci-menu.nav.nav-tabs
  = nav_link(path: 'commit#show') do
    = link_to project_commit_path(@project, @commit.id) do
      Changes
      %span.badge.badge-pill= @diffs.size
  - if any_pipelines
    = nav_link(path: 'commit#pipelines') do
      = link_to pipelines_project_commit_path(@project, @commit.id) do
        Pipelines
        %span.badge.badge-pill.js-pipelines-mr-count= @commit.pipelines.size