diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-02 05:07:08 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-02 05:07:08 +0300 |
commit | c5df14ff988e930eeeea129b642b9515ded2884e (patch) | |
tree | 091e2042cca1cc5a715cad9e23deb09e7f507402 /app/views/projects/labels | |
parent | d1b22c3a0b4ab5ccf5a80aac4edf72a2528d0568 (diff) |
Add link to open merge requests
Diffstat (limited to 'app/views/projects/labels')
-rw-r--r-- | app/views/projects/labels/_label.html.haml | 4 |
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' |