diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-16 11:56:51 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-27 22:14:07 +0100 |
commit | 9c74af1f4751f57014d9186746663aafc728574f (patch) | |
tree | f09e17961855432ed461f1ddd8ccebd07d964b1d /app/views/projects/commit/_ci_menu.html.haml | |
parent | 610a4e02f25104e63bac6f00ae576e3ab96d4c18 (diff) | |
download | gitlab-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.haml | 8 |
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 |