|
|
@ -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> |
|
|
|