From 9c29accf177163a8b979129a2ed16f06ef9acfed Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Tue, 27 Sep 2016 14:53:06 +0100 Subject: Removed stages loop for a single 'Stages' header --- app/views/projects/commit/_pipelines_list.haml | 8 +------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1