From 65aa53fc52ff15efe54df4147564828d535837f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Oct 2024 12:27:00 +0200 Subject: Adding upstream version 8.0.3. Signed-off-by: Daniel Baumann --- templates/webhook/shared-settings.tmpl | 289 +++++++++++++++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 templates/webhook/shared-settings.tmpl (limited to 'templates/webhook/shared-settings.tmpl') diff --git a/templates/webhook/shared-settings.tmpl b/templates/webhook/shared-settings.tmpl new file mode 100644 index 00000000..80caad72 --- /dev/null +++ b/templates/webhook/shared-settings.tmpl @@ -0,0 +1,289 @@ +{{$isNew:=or .PageIsSettingsHooksNew .PageIsAdminDefaultHooksNew .PageIsAdminSystemHooksNew}} +
+

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

+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+ +
+ +
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_create_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_delete_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_fork_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_push_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_repository_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_release_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_package_desc"}} +
+
+
+ + +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_wiki_desc"}} +
+
+
+ + +
+ +
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_issues_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_issue_assign_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_issue_label_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_issue_milestone_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_issue_comment_desc"}} +
+
+
+ + +
+ +
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_pull_request_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_pull_request_assign_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_pull_request_label_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_pull_request_milestone_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_pull_request_comment_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_pull_request_review_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_pull_request_sync_desc"}} +
+
+
+ +
+
+
+ + + {{ctx.Locale.Tr "repo.settings.event_pull_request_review_request_desc"}} +
+
+
+
+
+ + +
+ + + {{ctx.Locale.Tr "repo.settings.branch_filter_desc"}} +
+ +{{$skipAuthorizationHeader := or (eq .HookType "sourcehut_builds") (eq .HookType "matrix")}} +{{if not $skipAuthorizationHeader}} + +
+ + + {{ctx.Locale.Tr "repo.settings.authorization_header_desc" ("Bearer token123456, Basic YWxhZGRpbjpvcGVuc2VzYW1l" | SafeHTML)}} +
+{{end}} + +
+ +
+
+ + + {{ctx.Locale.Tr "repo.settings.active_helper"}} +
+
+
+ {{if $isNew}} + + {{else}} + + {{ctx.Locale.Tr "repo.settings.delete_webhook"}} + {{end}} +
+ +{{template "repo/settings/webhook/delete_modal" .}} -- cgit v1.2.3