From 30eae5a40c33b5bfc16dc4244631da7f1cae1494 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Fri, 4 Aug 2023 23:14:30 +0900 Subject: [PATCH] Fix incorrect color of selected assignees when create issue (#26324) Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/75d610b2-3823-4366-be85-c77c9106feff) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/15afc6ac-f5ad-4e24-8983-fea8ace5921f) Co-authored-by: Giteabot --- templates/repo/issue/new_form.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index c5da5b088..aa6802174 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -170,11 +170,13 @@ {{.locale.Tr "repo.issues.new.no_assignees"}} +
{{range .Assignees}} {{avatar $.Context . 28 "gt-mr-3 gt-vm"}}{{.GetDisplayName}} {{end}} +
{{if and .PageIsComparePull (not (eq .HeadRepo.FullName .BaseCompareRepo.FullName)) .CanWriteToHeadRepo}}