From 778d6043464d60e06af183ae24d764bf3e9fce0f Mon Sep 17 00:00:00 2001 From: Nanguan Lin <70063547+lng2020@users.noreply.github.com> Date: Thu, 23 Nov 2023 18:36:52 +0800 Subject: [PATCH] Fix missing buttons (#28179) fix #28173 regression #25948 That PR is supposed to only change the style but somehow delete a code snippet. See the diff(https://github.com/go-gitea/gitea/pull/25948/files#diff-7c36d66fe058f4ff9f2beaac73cf710dca45b350d0dd98daf806828a4745fe62L125-L129) for details. --------- Co-authored-by: wxiaoguang --- templates/repo/release/new.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl index 9fd3e5bd9..46b1c9b29 100644 --- a/templates/repo/release/new.tmpl +++ b/templates/repo/release/new.tmpl @@ -120,6 +120,10 @@ {{end}} {{else}} + {{if not .tag_name}} + + {{end}} +