diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-04-19 03:20:38 +0300 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-04-19 03:20:38 +0300 |
commit | 8b4e1d0ccd6c2624ac230597c4e63c8b51bc76ba (patch) | |
tree | 85f411958ccd6a912bd9d666ce144b33d5067ebc /app/views/shared/_label.html.haml | |
parent | c9f23ffe5bb4cc5bf28e28e7736d867ec0de5443 (diff) |
Add/use Label#priority? and remove weird padding
Diffstat (limited to 'app/views/shared/_label.html.haml')
-rw-r--r-- | app/views/shared/_label.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_label.html.haml b/app/views/shared/_label.html.haml index 8302918ebc9..3d7cad8ecf8 100644 --- a/app/views/shared/_label.html.haml +++ b/app/views/shared/_label.html.haml @@ -5,7 +5,7 @@ - show_label_merge_requests_link = show_label_issuables_link?(label, :merge_requests, project: @project) - show_label_issues_link = show_label_issuables_link?(label, :issues, project: @project) -%li.label-list-item{ class: label.priorities.present? ? '' : 'no-hand', id: label_css_id, data: { id: label.id } } +%li.label-list-item{ class: label.priority? ? '' : 'no-hand', id: label_css_id, data: { id: label.id } } = render "shared/label_row", label: label %ul.label-actions-list %li.inline |