From 0b01434aa3dcfa885281b266b51ae32e1df3b8e7 Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Sun, 19 May 2024 18:19:31 +0000 Subject: [PATCH] Fix error on renaming merged PRs (#3840) Closes https://codeberg.org/forgejo/forgejo/issues/3743. This is a simple fix for https://codeberg.org/forgejo/forgejo/issues/3743, based on changes in [gitea#30990](https://github.com/go-gitea/gitea/pull/30990), which was not included in https://codeberg.org/forgejo/forgejo/pulls/3838 due to large code differences. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3840 Reviewed-by: Earl Warren (cherry picked from commit 3351ce2bc59b1b083206f384f720bcb6a50527f5) --- templates/repo/issue/view_title.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 3a5ba0f4a3..1f9ab39c1c 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -23,7 +23,7 @@ {{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .Repository.IsArchived)}}
- +
{{end}} @@ -81,7 +81,7 @@ {{end}} - +