summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/list.tmpl
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2019-01-23 06:10:38 +0200
committertechknowlogick <matti@mdranta.net>2019-01-22 23:10:38 -0500
commit075649572d4472b588a8484ce3d7c37df7621f85 (patch)
tree5658dfda46b32c0686895615bceffbdac01ef4a3 /templates/repo/issue/list.tmpl
parent6a949af8ca3aaa30f917c8ed792ae88bbaafdd75 (diff)
downloadgitea-075649572d4472b588a8484ce3d7c37df7621f85.tar.gz
gitea-075649572d4472b588a8484ce3d7c37df7621f85.zip
Add the ability to use multiple labels as filters(#5786)
Diffstat (limited to 'templates/repo/issue/list.tmpl')
-rw-r--r--templates/repo/issue/list.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 40a56b1b32..c34a9f5b28 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -32,7 +32,7 @@
</div>
</div>
<div class="ten wide right aligned column">
- <div class="ui secondary filter stackable menu">
+ <div class="ui secondary filter stackable menu labels">
<!-- Label -->
<div class="ui {{if not .Labels}}disabled{{end}} dropdown jump item" style="margin-left: auto">
<span class="text">
@@ -42,7 +42,7 @@
<div class="menu">
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_label_no_select"}}</a>
{{range .Labels}}
- <a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&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" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.QueryString}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}"><span class="octicon {{if .IsSelected}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}</a>
{{end}}
</div>
</div>