aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/repo/release/new.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl
index 9fd3e5bd97..46b1c9b291 100644
--- a/templates/repo/release/new.tmpl
+++ b/templates/repo/release/new.tmpl
@@ -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>