From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.3. Signed-off-by: Daniel Baumann --- templates/repo/settings/protected_branch.tmpl | 262 ++++++++++++++++++++++++++ 1 file changed, 262 insertions(+) create mode 100644 templates/repo/settings/protected_branch.tmpl (limited to 'templates/repo/settings/protected_branch.tmpl') diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl new file mode 100644 index 0000000..ce7016e --- /dev/null +++ b/templates/repo/settings/protected_branch.tmpl @@ -0,0 +1,262 @@ +{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings branches")}} +
+

+ {{if .Rule.RuleName}} + {{ctx.Locale.Tr "repo.settings.branch_protection" .Rule.RuleName}} + {{else}} + {{ctx.Locale.Tr "repo.settings.protect_new_rule"}} + {{end}} +

+
+ {{.CsrfTokenHtml}} + +
+ {{ctx.Locale.Tr "repo.settings.protect_patterns"}} + + + +
+ +
+ {{ctx.Locale.Tr "repo.settings.event_push"}} + + + +
+
+ + +
+ {{if .Owner.IsOrganization}} +
+ + +
+ {{end}} +
+
+ + +
+
+
+ +
+
+ {{ctx.Locale.Tr "repo.settings.event_pull_request_approvals"}} + +
+ +
+
+ + +
+ {{if .Owner.IsOrganization}} +
+ + +
+ {{end}} +
+
+ +
+
+ + +

{{ctx.Locale.Tr "repo.settings.ignore_stale_approvals_desc"}}

+
+
+
+
+
+ + +

{{ctx.Locale.Tr "repo.settings.protect_check_status_contexts_desc"}}

+
+
+
+ + +

{{ctx.Locale.Tr "repo.settings.protect_status_check_patterns_desc"}}

+ + + + + + + + {{range $.recent_status_checks}} + + + + {{else}} + + {{end}} + +
{{ctx.Locale.Tr "repo.settings.protect_check_status_contexts_list"}}
+ {{.}} + {{ctx.Locale.Tr "repo.settings.protect_status_check_matched"}} +
-
+
+
+
+
+ {{ctx.Locale.Tr "repo.settings.event_pull_request_merge"}} +
+
+
+ + +

{{ctx.Locale.Tr "repo.settings.protect_enable_merge_desc"}}

+
+
+
+
+ + +

{{ctx.Locale.Tr "repo.settings.protect_merge_whitelist_committers_desc"}}

+
+
+
+
+ + +
+ {{if .Owner.IsOrganization}} +
+ + +
+ {{end}} +
+
+ + + +
+
+ {{ctx.Locale.Tr "repo.settings.event_pull_request_enforcement"}} + +
+ +
+
+{{template "repo/settings/layout_footer" .}} -- cgit v1.2.3