Refactoring.

This commit is contained in:
shimamoto
2013-09-18 19:21:56 +09:00
parent 98d24248c2
commit accb1cf2ab
4 changed files with 6 additions and 15 deletions

View File

@@ -41,7 +41,7 @@
@labels.map { label =>
<li>
<a href="#" class="toggle-label" data-label-id="@label.labelId">
<i class="@{if(issueLabels.exists(_.labelId == label.labelId)) "icon-ok" else "icon-white"}"></i>
@helper.html.checkicon(issueLabels.exists(_.labelId == label.labelId))
<span class="label" style="background-color: #@label.color;">&nbsp;</span>
@label.labelName
</a>