summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_ci_menu.html.haml
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2016-09-16 11:56:51 +0100
committerLuke Bennett <lukeeeebennettplus@gmail.com>2016-09-27 22:14:07 +0100
commit9c74af1f4751f57014d9186746663aafc728574f (patch)
treef09e17961855432ed461f1ddd8ccebd07d964b1d /app/views/projects/commit/_ci_menu.html.haml
parent610a4e02f25104e63bac6f00ae576e3ab96d4c18 (diff)
downloadgitlab-ce-9c74af1f4751f57014d9186746663aafc728574f.tar.gz
Rearranged commit tabs and changed commit `Commit` column header to `Pipeline`pipelines-for-commit
Changed `Commit` column header to `Pipeline` on pipeline index
Diffstat (limited to 'app/views/projects/commit/_ci_menu.html.haml')
-rw-r--r--app/views/projects/commit/_ci_menu.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/commit/_ci_menu.html.haml b/app/views/projects/commit/_ci_menu.html.haml
index aae07a3fbd4..cbfd99ca448 100644
--- a/app/views/projects/commit/_ci_menu.html.haml
+++ b/app/views/projects/commit/_ci_menu.html.haml
@@ -3,12 +3,12 @@
= link_to namespace_project_commit_path(@project.namespace, @project, @commit.id) do
Changes
%span.badge= @diffs.size
- = nav_link(path: 'commit#builds') do
- = 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
+ = nav_link(path: 'commit#builds') do
+ = link_to builds_namespace_project_commit_path(@project.namespace, @project, @commit.id) do
+ Builds
+ %span.badge= @statuses.count