Almost done issue label #200

This commit is contained in:
Unknown 2014-05-24 03:11:53 -04:00
parent dce17c86ac
commit e33a104448

View File

@ -18,7 +18,7 @@
<ul class="list-unstyled" id="label-list" data-ajax="{{$.RepoLink}}/issues/labels/delete"> <ul class="list-unstyled" id="label-list" data-ajax="{{$.RepoLink}}/issues/labels/delete">
{{range .Labels}} {{range .Labels}}
<li class="label-item" id="label-{{.Id}}" data-id="{{.Id}}"> <li class="label-item" id="label-{{.Id}}" data-id="{{.Id}}">
<a href="#"> <a href="?type={{$.ViewType}}&state={{$.State}}&labels={{.Id}}">
<span class="pull-right count">{{if $.IsShowClosed}}{{.NumClosedIssues}}{{else}}{{.NumOpenIssues}}{{end}}</span> <span class="pull-right count">{{if $.IsShowClosed}}{{.NumClosedIssues}}{{else}}{{.NumOpenIssues}}{{end}}</span>
<span class="color" style="background-color: {{.Color}}" data-color="{{.Color}}"></span> <span class="color" style="background-color: {{.Color}}" data-color="{{.Color}}"></span>
<span class="name">{{.Name}}</span> <span class="name">{{.Name}}</span>