BigW Consortium Gitlab

Commit 83ebc97b by Filipa Lacerda

Adds new partial for borderless mini graph icons

parent 7bfe8724
- status = subject.detailed_status(current_user)
- icon = "#{status.icon}_borderless"
- klass = "ci-status-icon ci-status-icon-#{status}"
%span.mini-pipeline-graph-icon-container
%span{ class: klass }= custom_icon(icon)
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
.dropdown.inline.build-content .dropdown.inline.build-content
%button.has-tooltip.builds-dropdown{ type: 'button', data: { toggle: 'dropdown', title: tooltip} } %button.has-tooltip.builds-dropdown{ type: 'button', data: { toggle: 'dropdown', title: tooltip} }
%span{ class: klass } %span{ class: klass }
= ci_icon_for_status(detailed_status.icon) = render 'ci/status/mini_graph_badge', subject: stage
%span= icon('caret-down', class: 'dropdown-caret') %span= icon('caret-down', class: 'dropdown-caret')
.dropdown-menu.grouped-pipeline-dropdown .dropdown-menu.grouped-pipeline-dropdown
.arrow-up .arrow-up
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
- else - else
- if details_path - if details_path
= link_to details_path, class: klass, title: tooltip do = link_to details_path, class: klass, title: tooltip do
= custom_icon(detailed_status.icon) = render 'ci/status/mini_graph_badge', subject: stage
%td %td
- if pipeline.duration - if pipeline.duration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment