summaryrefslogtreecommitdiff
path: root/app/views/projects/labels
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-04-19 03:19:55 +0100
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-04-19 03:19:55 +0100
commit53a4437a6450a35942f91a92d0fcb296cd6dc989 (patch)
tree1464cf6334cd08440c3fdc928b52ef682b05de3f /app/views/projects/labels
parent5099e73f9fcf6a835db8f8cff5380a4a3db1c736 (diff)
downloadgitlab-ce-53a4437a6450a35942f91a92d0fcb296cd6dc989.tar.gz
Add and remove priority label
Diffstat (limited to 'app/views/projects/labels')
-rw-r--r--app/views/projects/labels/index.html.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/projects/labels/index.html.haml b/app/views/projects/labels/index.html.haml
index a5f7ce8e2ad..632355fa338 100644
--- a/app/views/projects/labels/index.html.haml
+++ b/app/views/projects/labels/index.html.haml
@@ -9,7 +9,6 @@
= link_to new_project_label_path(@project), class: "btn btn-new" do
New label
-
- if @labels.exists? || @prioritized_labels.exists?
#promote-label-modal
%div{ class: container_class }
@@ -40,3 +39,7 @@
= paginate @labels, theme: 'gitlab'
- else
= render 'shared/empty_states/labels'
+
+%template#js-badge-item-template
+ %li.label-link-item.js-priority-badge.inline.prepend-left-10
+ .label-badge.label-badge-blue Prioritized label \ No newline at end of file