Commit 263282dec926451d2db39162c99d479277a52e72
1 parent
e51c37bd
Exists in
master
and in
4 other branches
Show Milestone information in MR Listing
When a MR belongs to a Milestone, show this information in the listing with a small box telling the Milestone title.
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
app/views/merge_requests/_merge_request.html.haml
... | ... | @@ -10,6 +10,10 @@ |
10 | 10 | %span.btn.small.disabled.grouped |
11 | 11 | %i.icon-comment |
12 | 12 | = merge_request.mr_and_commit_notes.count |
13 | + - if merge_request.milestone_id? | |
14 | + %span.btn.small.disabled.grouped | |
15 | + %i.icon-time | |
16 | + = merge_request.project.milestones.find(merge_request.milestone_id).title | |
13 | 17 | %span.btn.small.disabled.grouped |
14 | 18 | = merge_request.source_branch |
15 | 19 | → | ... | ... |