diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-08-17 21:08:44 +0300 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-08-17 21:16:50 +0300 |
commit | b6c670cf9c1e86748aa0a97decdd5ed9014f4f97 (patch) | |
tree | a1f5cd69e76d9c4a8ef46fe840a0e4b8fcfa4502 /app/views/projects/builds/_sidebar.html.haml | |
parent | 162ef4b07262fdc0ad75564225f311a67c11833b (diff) |
Style build container box; add check mark to active build
Diffstat (limited to 'app/views/projects/builds/_sidebar.html.haml')
-rw-r--r-- | app/views/projects/builds/_sidebar.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml index 726c816716c..5b0b58e087b 100644 --- a/app/views/projects/builds/_sidebar.html.haml +++ b/app/views/projects/builds/_sidebar.html.haml @@ -15,6 +15,7 @@ - statuses = ["failed", "pending", "running", "canceled", "success", "skipped"] - if builds.size > 1 .dropdown.build-dropdown + .build-light-text Stage %button.dropdown-menu-toggle{type: 'button', 'data-toggle' => 'dropdown'} %span.stage-selection More = icon('caret-down') @@ -28,6 +29,7 @@ - builds.select{|build| build.status == build_status}.each do |build| .build-job{class: ('active' if build == @build), data: {stage: build.stage}} = link_to namespace_project_build_path(@project.namespace, @project, build) do + = icon('check') = ci_icon_for_status(build.status) %span - if build.name |