diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-12-14 13:54:23 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-12-15 19:53:57 +0000 |
commit | 01876eccad2bbc9ea2f35cb27c41b7373b20f26b (patch) | |
tree | 04cfaa3c287d4f8a850183ec23317e2409b1a80a /app/views/projects/ci | |
parent | 1235d96e973258b9c968049945426cb28bea9998 (diff) | |
download | gitlab-ce-01876eccad2bbc9ea2f35cb27c41b7373b20f26b.tar.gz |
Initial commit
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r-- | app/views/projects/ci/pipelines/_pipeline.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml index f17a0d668b7..931dd9d3a71 100644 --- a/app/views/projects/ci/pipelines/_pipeline.html.haml +++ b/app/views/projects/ci/pipelines/_pipeline.html.haml @@ -51,15 +51,16 @@ .stage-container - if hasMultipleBuilds .dropdown.inline - %a.dropdown-toggle{id: "dropdown-#{stage.name}", "data-toggle"=> "dropdown", "aria-haspopup"=> "true", "aria-expanded" => "false" } + %a.dropdown-toggle.builds-dropdown{id: "dropdown-#{stage.name}", title: tooltip, class: "has-tooltip ci-status-icon-#{stage.status}", "data-toggle"=> "dropdown", "aria-haspopup"=> "true", "aria-expanded" => "false"} = ci_icon_for_status(stage.detailed_status) - %span.caret + = icon('caret-down', class: 'dropdown-caret') .dropdown-menu.grouped-pipeline-dropdown{"aria-labelledby"=> "dropdown-#{stage.name}"} .arrow %ul - stage.statuses.each do |status| %li - status + = ci_icon_for_status(status) + -# =render 'ci/status/icon_with_name_and_action', subject: status - else = link_to namespace_project_pipeline_path(pipeline.project.namespace, pipeline.project, pipeline.id, anchor: stage.name), class: "has-tooltip ci-status-icon-#{stage.status}", title: tooltip do = ci_icon_for_status(stage.detailed_status) |