diff options
Diffstat (limited to 'app/views/ci/status/_dropdown_graph_badge.html.haml')
-rw-r--r-- | app/views/ci/status/_dropdown_graph_badge.html.haml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/app/views/ci/status/_dropdown_graph_badge.html.haml b/app/views/ci/status/_dropdown_graph_badge.html.haml deleted file mode 100644 index 5e9b02b5fe2..00000000000 --- a/app/views/ci/status/_dropdown_graph_badge.html.haml +++ /dev/null @@ -1,20 +0,0 @@ --# Renders the content of each li in the dropdown - -- subject = local_assigns.fetch(:subject) -- status = subject.detailed_status(current_user) -- klass = "ci-status-icon ci-status-icon-#{status.group}" -- tooltip = "#{subject.name} - #{status.status_tooltip}" - -- if status.has_details? - = link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item d-flex', data: { toggle: 'tooltip', title: tooltip, container: 'body' } do - %span{ class: klass }= sprite_icon(status.icon) - %span.gl-text-truncate.mw-70p.gl-pl-2= subject.name - -- else - .menu-item.mini-pipeline-graph-dropdown-item.d-flex{ data: { toggle: 'tooltip', title: tooltip, container: 'body' } } - %span{ class: klass }= sprite_icon(status.icon) - %span.gl-text-truncate.mw-70p.gl-pl-2= subject.name - -- if status.has_action? - = link_to status.action_path, class: "gl-button ci-action-icon-container ci-action-icon-wrapper js-ci-action-icon", method: status.action_method, data: { toggle: 'tooltip', title: status.action_title, container: 'body' } do - = sprite_icon(status.action_icon, css_class: "icon-action-#{status.action_icon}") |