diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 4165ba49e..dd4dadca5 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -26,7 +26,8 @@ {{svg "octicon-check"}} - {{.User.GetDisplayName}} + + {{.User.GetDisplayName}} {{end}} @@ -52,9 +53,12 @@ {{.i18n.Tr "repo.issues.new.no_reviewers"}}
{{range .PullReviewers}} -
+
{{if .User}} -  {{.User.GetDisplayName}} + + + {{.User.GetDisplayName}} + {{else if .Team}} {{svg "octicon-people" 16 "teamavatar"}}{{$.Issue.Repo.OwnerName}}/{{.Team.Name}} {{end}} @@ -253,11 +257,7 @@ {{range .Assignees}} {{$AssigneeID := .ID}} - + {{$checked := false}} {{range $.Issue.Assignees}} {{if eq .ID $AssigneeID}} @@ -266,7 +266,8 @@ {{end}} {{svg "octicon-check"}} - {{.GetDisplayName}} + + {{.GetDisplayName}} {{end}} @@ -277,7 +278,10 @@
{{range .Issue.Assignees}} {{end}}