summaryrefslogtreecommitdiff
path: root/app/views/shared/_label_row.html.haml
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-15 12:46:20 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:27 -0200
commit074c964913218e99c42f0d8b5855c4ad2ad93267 (patch)
treecaec899ca611fde833a6e5926ede268a37fd6c6d /app/views/shared/_label_row.html.haml
parent9cb123843474d60c452c02bf5701f11769661829 (diff)
downloadgitlab-ce-074c964913218e99c42f0d8b5855c4ad2ad93267.tar.gz
Add label type to group and project labels lists
Diffstat (limited to 'app/views/shared/_label_row.html.haml')
-rw-r--r--app/views/shared/_label_row.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/_label_row.html.haml b/app/views/shared/_label_row.html.haml
index 813ce4f1405..76c3327fefc 100644
--- a/app/views/shared/_label_row.html.haml
+++ b/app/views/shared/_label_row.html.haml
@@ -10,6 +10,8 @@
= icon('star')
%span.label-name
= link_to_label(label, subject: @project, tooltip: false)
+ %span.label-type
+ = label.model_name.human.titleize
- if label.description
%span.label-description
= markdown_field(label, :description)