summaryrefslogtreecommitdiff
path: root/app/views/shared/_label_row.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_label_row.html.haml')
-rw-r--r--app/views/shared/_label_row.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/shared/_label_row.html.haml b/app/views/shared/_label_row.html.haml
index d315a3fe93b..478c04318c6 100644
--- a/app/views/shared/_label_row.html.haml
+++ b/app/views/shared/_label_row.html.haml
@@ -8,5 +8,6 @@
= icon('star')
%span.label-name
= link_to_label(label, tooltip: false)
- %span.prepend-left-10
- = markdown(label.description, pipeline: :single_line)
+ - if label.description
+ %span.label-description
+ = markdown(label.description, pipeline: :single_line)