From 019d32235129afbc1b9effe86511dcec8a7979cc Mon Sep 17 00:00:00 2001 From: Otto Richter Date: Wed, 24 Apr 2024 22:58:03 +0200 Subject: [PATCH] Split assignees --- .../repo/issue/view_content/sidebar.tmpl | 47 +------------------ .../issue/view_content/sidebar/assignees.tmpl | 45 ++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) create mode 100644 templates/repo/issue/view_content/sidebar/assignees.tmpl diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index b410d1d19c..effbdc3072 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -17,52 +17,7 @@ {{template "repo/issue/view_content/sidebar/projects" .}}
- - -
- {{ctx.Locale.Tr "repo.issues.new.no_assignees"}} -
- {{range .Issue.Assignees}} - - {{end}} -
-
- + {{template "repo/issue/view_content/sidebar/assignees" .}}
{{if .Participants}} diff --git a/templates/repo/issue/view_content/sidebar/assignees.tmpl b/templates/repo/issue/view_content/sidebar/assignees.tmpl new file mode 100644 index 0000000000..e51bda95de --- /dev/null +++ b/templates/repo/issue/view_content/sidebar/assignees.tmpl @@ -0,0 +1,45 @@ + + +
+ {{ctx.Locale.Tr "repo.issues.new.no_assignees"}} +
+ {{range .Issue.Assignees}} + + {{end}} +
+