From b7b5c3368de006ebb51c3c81cf7bc5fc656dbf11 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 8 Dec 2020 04:20:12 +0100 Subject: Fix issue participants (#13893) * Fix issue participants * use list class for margin * remove wrapper and don't render on zero participants * keep whitespace * remove participants class * add some margin for timetracking stuff Co-authored-by: 6543 <6543@obermui.de> --- templates/repo/issue/view_content/sidebar.tmpl | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'templates/repo') diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index d778beee4e..a8f0ed5ab4 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -290,18 +290,16 @@
-
+ {{if .Participants}} {{.i18n.Tr "repo.issues.num_participants" .NumParticipants}} -
+ -
+ {{end}} {{if and $.IssueWatch (not .Repository.IsArchived)}}
@@ -330,7 +328,7 @@
{{.i18n.Tr "repo.issues.tracker"}} -
+
{{$.CsrfTokenHtml}}
@@ -372,11 +370,11 @@ {{end}} {{if gt (len .WorkingUsers) 0}}
-
+
{{.i18n.Tr "repo.issues.time_spent_from_all_authors" ($.Issue.TotalTrackedTime | Sec2Time) | Safe}}
{{range $user, $trackedtime := .WorkingUsers}} -
+
{{avatar $user}} -- cgit v1.2.3