Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-02 05:07:08 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-02 05:07:08 +0300
commitc5df14ff988e930eeeea129b642b9515ded2884e (patch)
tree091e2042cca1cc5a715cad9e23deb09e7f507402 /app/views/projects/labels
parentd1b22c3a0b4ab5ccf5a80aac4edf72a2528d0568 (diff)
Add link to open merge requests
Diffstat (limited to 'app/views/projects/labels')
-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'