diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-05-19 08:46:09 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-06 19:59:49 +0300 |
commit | 25ee66e88cc6a3a32dea9a38157b3ee5709c5f9e (patch) | |
tree | fd00b68cffad6f4952049d75d8c4d65cb9c8761f /app/views/shared/_label_row.html.haml | |
parent | 499bb9f305e78d0e3488c2eee6328ce76af39920 (diff) |
Sorting improvements and styling
Diffstat (limited to 'app/views/shared/_label_row.html.haml')
-rw-r--r-- | app/views/shared/_label_row.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
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 |