Skip to content

Commit

Permalink
Fix missing buttons (go-gitea#28179)
Browse files Browse the repository at this point in the history
fix go-gitea#28173 
regression go-gitea#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 <[email protected]>
  • Loading branch information
2 people authored and silverwind committed Feb 20, 2024
1 parent 6fdb2c4 commit 1e1b08b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/repo/release/new.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@
</button>
{{end}}
{{else}}
{{if not .tag_name}}
<button class="ui small button" name="tag_only" value="1">{{ctx.Locale.Tr "repo.release.add_tag"}}</button>
{{end}}
<button class="ui small button" name="draft" value="1">{{ctx.Locale.Tr "repo.release.save_draft"}}</button>
<button class="ui small primary button">
{{ctx.Locale.Tr "repo.release.publish"}}
</button>
Expand Down

0 comments on commit 1e1b08b

Please sign in to comment.