summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-01-27 20:47:00 +0800
committerGitHub <noreply@github.com>2021-01-27 20:47:00 +0800
commitcfa57dde66c632d283704fe616010ac280b81f0d (patch)
tree944e273635e39bf9aef67d6c2b2c852cbe4fa6a3 /templates/repo/issue
parent1080b27a395479996957ebc5c483b288aac0d566 (diff)
downloadgitea-cfa57dde66c632d283704fe616010ac280b81f0d.tar.gz
gitea-cfa57dde66c632d283704fe616010ac280b81f0d.zip
Fix bug that username missed on issue list assignee filter (#14481)
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates/repo/issue')
-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 7b856e60cb..26eb0e27c1 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -71,7 +71,7 @@
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}">{{.i18n.Tr "repo.issues.filter_assginee_no_select"}}</a>
{{range .Assignees}}
<a class="{{if eq $.AssigneeID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&assignee={{.ID}}">
- {{avatar .}}
+ {{avatar .}} {{.GetDisplayName}}
</a>
{{end}}
</div>
@@ -178,7 +178,7 @@
</div>
{{range .Assignees}}
<div class="item issue-action" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/assignee">
- {{avatar .}}
+ {{avatar .}} {{.GetDisplayName}}
</div>
{{end}}
</div>