Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-06-02 22:48:18 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-06 19:59:49 +0300
commitbf0c4426ffb1994b647a4f7e8c74b0fef29645d2 (patch)
tree351595f96a157f21ae5385bb036cdb35ce4e8766 /app/views/shared/_label_row.html.haml
parent91b475a9c0ab880c533b4d802afdc2db97ed1abb (diff)
Feedback
Diffstat (limited to 'app/views/shared/_label_row.html.haml')
-rw-r--r--app/views/shared/_label_row.html.haml11
1 files changed, 5 insertions, 6 deletions
diff --git a/app/views/shared/_label_row.html.haml b/app/views/shared/_label_row.html.haml
index b06a783e98b..41d7411f3f0 100644
--- a/app/views/shared/_label_row.html.haml
+++ b/app/views/shared/_label_row.html.haml
@@ -1,12 +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}" }
+ .js-toggle-priority.toggle-priority{ data: { url: remove_priority_namespace_project_label_path(@project.namespace, @project, label),
+ dom_id: dom_id(label) } }
%button.add-priority.btn.has-tooltip{ title: 'Prioritize', :'data-placement' => 'top' }
- %i.fa.fa-star-o
+ = icon('star-o')
%button.remove-priority.btn.has-tooltip{ title: 'Remove priority', :'data-placement' => 'top' }
- %i.fa.fa-star
+ = icon('star')
%span.label-name
= link_to_label(label, tooltip: false)
%span.prepend-left-10
- = markdown(label.description, pipeline: :single_line) \ No newline at end of file
+ = markdown(label.description, pipeline: :single_line)