Commit 803ba84c6b5d601f867ee69b9627252cda82adbf
Exists in
spb-stable
and in
3 other branches
Merge pull request #6261 from skv-headless/badge_to_labels
Replace badge to labels, because twbs3 doesn't supprot colored badges
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/projects/milestones/_issues.html.haml
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | - issues.each do |issue| |
5 | 5 | %li |
6 | 6 | = link_to [@project, issue] do |
7 | - %span.badge{class: issue.closed? ? 'badge-important' : 'badge-info'} ##{issue.iid} | |
7 | + %span.label{class: issue.closed? ? 'label-danger' : 'label-info'} ##{issue.iid} | |
8 | 8 | = link_to_gfm truncate(issue.title, length: 40), [@project, issue] |
9 | 9 | - if issue.assignee |
10 | 10 | .pull-right | ... | ... |
app/views/projects/milestones/_merge_request.html.haml