Browse Source

Almost done issue label #200

pull/210/head
Unknown 11 years ago
parent
commit
e33a104448
  1. 2
      templates/issue/list.tmpl

2
templates/issue/list.tmpl

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

Loading…
Cancel
Save