summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-01 21:07:08 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-01 21:07:08 -0500
commitc5df14ff988e930eeeea129b642b9515ded2884e (patch)
tree091e2042cca1cc5a715cad9e23deb09e7f507402
parentd1b22c3a0b4ab5ccf5a80aac4edf72a2528d0568 (diff)
downloadgitlab-ce-issue_13501.tar.gz
Add link to open merge requestsissue_13501
-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'