From 3fe18d720edbc130ba005f012e805c9be481074f Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 8 Oct 2021 15:55:17 +0200 Subject: [PATCH] chore: comment tmpl consolidation as per upstream + fix indentation --- custom/templates/repo/issue/comment_tab.tmpl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/custom/templates/repo/issue/comment_tab.tmpl b/custom/templates/repo/issue/comment_tab.tmpl index 634a803..77e8293 100644 --- a/custom/templates/repo/issue/comment_tab.tmpl +++ b/custom/templates/repo/issue/comment_tab.tmpl @@ -5,15 +5,16 @@
+ {{- if .BodyQuery}}{{.BodyQuery}}{{else if .IssueTemplate}}{{.IssueTemplate}}{{else if .PullRequestTemplate}}{{.PullRequestTemplate}}{{else}}{{.content}}{{end -}} +
-
+
{{.i18n.Tr "loading"}}
{{if .IsAttachmentEnabled}} -
-
-
-
+
+
+ {{template "repo/upload" .}} +
{{end}}