From 25ee66e88cc6a3a32dea9a38157b3ee5709c5f9e Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran Date: Thu, 19 May 2016 00:46:09 -0500 Subject: Sorting improvements and styling --- app/views/shared/_label_row.html.haml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/views/shared/_label_row.html.haml') diff --git a/app/views/shared/_label_row.html.haml b/app/views/shared/_label_row.html.haml index 9ce5562e667..b06a783e98b 100644 --- a/app/views/shared/_label_row.html.haml +++ b/app/views/shared/_label_row.html.haml @@ -1,4 +1,11 @@ +- label_css_id = dom_id(label) %span.label-row + .js-toggle-priority.toggle-priority{ :"data-url" => remove_priority_namespace_project_label_path(@project.namespace, @project, label), + :"data-dom-id" => "#{label_css_id}" } + %button.add-priority.btn.has-tooltip{ title: 'Prioritize', :'data-placement' => 'top' } + %i.fa.fa-star-o + %button.remove-priority.btn.has-tooltip{ title: 'Remove priority', :'data-placement' => 'top' } + %i.fa.fa-star %span.label-name = link_to_label(label, tooltip: false) %span.prepend-left-10 -- cgit v1.2.1