summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-09-29 22:38:11 +0800
committerGitHub <noreply@github.com>2023-09-29 16:38:11 +0200
commitf9395eaa08b17b081dd3b0453d0d0b03a1ee4d5b (patch)
treed065618763fadb2cfdbf3994ee34ac3ccd20b709 /templates
parentf13a294b47e901e22ec02d9b9d92ddd835155f53 (diff)
downloadgitea-f9395eaa08b17b081dd3b0453d0d0b03a1ee4d5b.tar.gz
gitea-f9395eaa08b17b081dd3b0453d0d0b03a1ee4d5b.zip
Add protected branch name description (#27257) (#27351)
Backport #27257 by @lunny Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/settings/protected_branch.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl
index 6a8c8c1e35..a1e45d805c 100644
--- a/templates/repo/settings/protected_branch.tmpl
+++ b/templates/repo/settings/protected_branch.tmpl
@@ -10,6 +10,7 @@
<label>{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern"}}</label>
<input name="rule_name" type="text" value="{{.Rule.RuleName}}">
<input name="rule_id" type="hidden" value="{{.Rule.ID}}">
+ <p class="help gt-ml-0">{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern_desc" | Safe}}</p>
</div>
<div class="field">
<label>{{ctx.Locale.Tr "repo.settings.protect_protected_file_patterns"}}</label>