summaryrefslogtreecommitdiff
path: root/app/views/projects/labels/_label.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/labels/_label.html.haml')
-rw-r--r--app/views/projects/labels/_label.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/labels/_label.html.haml b/app/views/projects/labels/_label.html.haml
index 5b35acc66c0..f7ddd30c5a9 100644
--- a/app/views/projects/labels/_label.html.haml
+++ b/app/views/projects/labels/_label.html.haml
@@ -3,6 +3,10 @@
.pull-right
%strong.append-right-20
+ = link_to_label(label, type: :merge_request) do
+ = pluralize label.open_merge_requests_count, 'open merge request'
+
+ %strong.append-right-20
= link_to_label(label) do
= pluralize label.open_issues_count, 'open issue'