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.haml22
1 files changed, 11 insertions, 11 deletions
diff --git a/app/views/shared/_label_row.html.haml b/app/views/shared/_label_row.html.haml
index 34da13ca52b..bd4f191502e 100644
--- a/app/views/shared/_label_row.html.haml
+++ b/app/views/shared/_label_row.html.haml
@@ -17,14 +17,14 @@
- if defined?(@project) && @project.group.present?
%span.label-type
= label.model_name.human.titleize
- - if label.description
- %span.label-description
- = markdown_field(label, :description)
- .hidden-xs.hidden-sm
- - if show_label_issues_link
- = link_to_label(label, subject: subject) do
- Issues
- - if show_label_merge_requests_link
- ·
- = link_to_label(label, subject: subject, type: :merge_request) do
- Merge requests
+
+ %span.label-description
+ - if label.description.present?
+ .description-text
+ = markdown_field(label, :description)
+ .hidden-xs.hidden-sm
+ - if show_label_issues_link
+ = link_to_label(label, subject: subject) { 'Issues' }
+ - if show_label_merge_requests_link
+ ·
+ = link_to_label(label, subject: subject, type: :merge_request) { 'Merge requests' }