Commit 803ba84c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #6261 from skv-headless/badge_to_labels

Replace badge to labels, because twbs3 doesn't supprot colored badges
parents 540da508 7a8f0019
......@@ -4,7 +4,7 @@
- issues.each do |issue|
%li
= link_to [@project, issue] do
%span.badge{class: issue.closed? ? 'badge-important' : 'badge-info'} ##{issue.iid}
%span.label{class: issue.closed? ? 'label-danger' : 'label-info'} ##{issue.iid}
= link_to_gfm truncate(issue.title, length: 40), [@project, issue]
- if issue.assignee
.pull-right
......
%li
= link_to [@project, merge_request] do
%span.badge.badge-info ##{merge_request.iid}
%span.label.label-info ##{merge_request.iid}
–
= link_to_gfm truncate(merge_request.title, length: 60), [@project, merge_request]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment