proper color support for labels

This commit is contained in:
jomo
2015-01-17 16:04:07 +01:00
parent 39fceedf56
commit 5f00fc87a3
6 changed files with 41 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
<% if label %>
<span class="label label-<%= label.name.downcase %>"><%= label %></span>
<span class="label label-<%= label.name.downcase %>" style="color: #<%= label.fcolor %>;background-color: #<%= label.color %>"><%= label %></span>
<% end %>