diff options
author | Rubén Dávila <rdavila84@gmail.com> | 2016-01-25 12:07:04 -0500 |
---|---|---|
committer | Rubén Dávila <rdavila84@gmail.com> | 2016-02-02 17:45:42 -0500 |
commit | 365d96ca850caf653f48a611f4a6dd785487e526 (patch) | |
tree | 5c3e4ab8c1becb10479fb99bcaaa11401440618f /app/views | |
parent | c4c919e59ded2fbf29dc3085b6621e02c0b10f54 (diff) | |
download | gitlab-ce-365d96ca850caf653f48a611f4a6dd785487e526.tar.gz |
Add labels tab to milestone detail view.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/milestones/show.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml index 528a4f9552f..a6108afd8e7 100644 --- a/app/views/projects/milestones/show.html.haml +++ b/app/views/projects/milestones/show.html.haml @@ -70,6 +70,10 @@ = link_to '#tab-participants', 'data-toggle' => 'tab' do Participants %span.badge= @users.count + %li + = link_to '#tab-labels', 'data-toggle' => 'tab' do + Labels + %span.badge= @labels.count .tab-content .tab-pane.active#tab-issues @@ -128,3 +132,12 @@ %strong= truncate(user.name, lenght: 40) %br %small.cgray= user.username + + .tab-pane#tab-labels + %ul.bordered-list.manage-labels-list + - @labels.each do |label| + %li + = render_colored_label(label) + .pull-right + %span.issues-count= pluralize label.open_issues_count, 'open issue' + %span.issues-count= pluralize label.closed_issues_count, 'closed issue' |