diff options
Diffstat (limited to 'app/views/projects/commit/_ci_menu.html.haml')
-rw-r--r-- | app/views/projects/commit/_ci_menu.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/commit/_ci_menu.html.haml b/app/views/projects/commit/_ci_menu.html.haml index 935433306ea..aae07a3fbd4 100644 --- a/app/views/projects/commit/_ci_menu.html.haml +++ b/app/views/projects/commit/_ci_menu.html.haml @@ -7,3 +7,8 @@ = link_to builds_namespace_project_commit_path(@project.namespace, @project, @commit.id) do Builds %span.badge= @statuses.count + - if can?(current_user, :read_pipeline, @project) + = nav_link(path: 'commit#pipelines') do + = link_to pipelines_namespace_project_commit_path(@project.namespace, @project, @commit.id) do + Pipelines + %span.badge= @ci_pipelines.count |