|
|
@ -50,17 +50,18 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ten wide right aligned column"> |
|
|
|
<div class="ten wide right aligned column"> |
|
|
|
<div class="ui secondary filter stackable menu"> |
|
|
|
<div class="ui secondary filter stackable menu labels"> |
|
|
|
<!-- Label --> |
|
|
|
<!-- Label --> |
|
|
|
<div class="ui {{if not .Labels}}disabled{{end}} dropdown jump item" style="margin-left: auto"> |
|
|
|
<div class="ui {{if not .Labels}}disabled{{end}} dropdown jump item label-filter" style="margin-left: auto"> |
|
|
|
<span class="text"> |
|
|
|
<span class="text"> |
|
|
|
{{.i18n.Tr "repo.issues.filter_label"}} |
|
|
|
{{.i18n.Tr "repo.issues.filter_label"}} |
|
|
|
<i class="dropdown icon"></i> |
|
|
|
<i class="dropdown icon"></i> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<div class="menu"> |
|
|
|
<div class="menu"> |
|
|
|
|
|
|
|
<span class="info">{{.i18n.Tr "repo.issues.filter_label_exclude" | Safe}}</span> |
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_label_no_select"}}</a> |
|
|
|
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_label_no_select"}}</a> |
|
|
|
{{range .Labels}} |
|
|
|
{{range .Labels}} |
|
|
|
<a class="item has-emoji" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.ID}}&assignee={{$.AssigneeID}}"><span class="octicon {{if eq $.SelectLabels .ID}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}</a> |
|
|
|
<a class="item has-emoji label-filter-item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.ID}}&assignee={{$.AssigneeID}}" data-label-id="{{.ID}}"><span class="octicon {{if .IsExcluded}}octicon-circle-slash{{else if eq $.SelectLabels .ID}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|