diff options
author | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-11 18:24:49 +0300 |
---|---|---|
committer | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-11 18:24:49 +0300 |
commit | 979dedba8a68f33b8e2078f7e2980bf048a8a25a (patch) | |
tree | 8a5df2cea83fabcf2c810be5255470563d80ecdb /app/views/shared/milestones | |
parent | 5999fec7a3aa7f663d0ade254e37fda3391fa17a (diff) |
make milestone labels in labels tab similar to that of the labels page
Diffstat (limited to 'app/views/shared/milestones')
-rw-r--r-- | app/views/shared/milestones/_labels_tab.html.haml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/shared/milestones/_labels_tab.html.haml b/app/views/shared/milestones/_labels_tab.html.haml index 868b2357003..b15e8ea73fe 100644 --- a/app/views/shared/milestones/_labels_tab.html.haml +++ b/app/views/shared/milestones/_labels_tab.html.haml @@ -4,15 +4,16 @@ %li %span.label-row - = link_to milestones_label_path(options) do - - render_colored_label(label, tooltip: false) - %span.prepend-left-10 + %span.label-name + = link_to milestones_label_path(options) do + - render_colored_label(label, tooltip: false) + %span.prepend-description-left = markdown(label.description, pipeline: :single_line) - .pull-right - %strong.issues-count + .pull-info-right + %span.append-right-20 = link_to milestones_label_path(options.merge(state: 'opened')) do - pluralize milestone_issues_by_label_count(@milestone, label, state: :opened), 'open issue' - %strong.issues-count + %span.append-right-20 = link_to milestones_label_path(options.merge(state: 'closed')) do - pluralize milestone_issues_by_label_count(@milestone, label, state: :closed), 'closed issue' |