From 224ee0d4e539510b82125876684e9f9c5fde0dfb Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 11 Jun 2023 04:54:30 +0200 Subject: [PATCH] Fix strange UI behavior of cancelling dismiss review modal (#25172) Backport clean cherry-picks of https://github.com/go-gitea/gitea/pull/25133 and https://github.com/go-gitea/gitea/pull/25162 to 1.20. --- templates/repo/issue/view_content/sidebar.tmpl | 4 ++-- web_src/js/features/repo-issue.js | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index ebb844bc00..23e2c18547 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -58,10 +58,10 @@
{{if (and $.Permission.IsAdmin (or (eq .Review.Type 1) (eq .Review.Type 3)) (not $.Issue.IsClosed))}} - + {{svg "octicon-x" 20}} -