summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2016-09-27 14:53:06 +0100
committerLuke Bennett <lukeeeebennettplus@gmail.com>2016-09-27 14:53:06 +0100
commit9c29accf177163a8b979129a2ed16f06ef9acfed (patch)
tree1e860764841082b3c32fc12c9e7e77d69c58ba30
parent166c6cd85c2be13bb2fa5d27f40d304ffd9c62ad (diff)
downloadgitlab-ce-22472-wrong-table-head.tar.gz
Removed stages loop for a single 'Stages' header22472-wrong-table-head
-rw-r--r--app/views/projects/commit/_pipelines_list.haml8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/projects/commit/_pipelines_list.haml b/app/views/projects/commit/_pipelines_list.haml
index f41a11a056d..95a8c7b4a5d 100644
--- a/app/views/projects/commit/_pipelines_list.haml
+++ b/app/views/projects/commit/_pipelines_list.haml
@@ -8,13 +8,7 @@
%tbody
%th Status
%th Commit
- - pipelines.stages.each do |stage|
- %th.stage
- - if stage.titleize.length > 12
- %span.has-tooltip{ title: "#{stage.titleize}" }
- = stage.titleize
- - else
- = stage.titleize
+ %th Stages
%th
%th
= render pipelines, commit_sha: true, stage: true, allow_retry: true, stages: pipelines.stages, status_icon_only: true, hide_branch: true