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 --- .../user/settings/applications_oauth2_list.tmpl | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 templates/user/settings/applications_oauth2_list.tmpl (limited to 'templates/user/settings/applications_oauth2_list.tmpl') diff --git a/templates/user/settings/applications_oauth2_list.tmpl b/templates/user/settings/applications_oauth2_list.tmpl new file mode 100644 index 0000000..74cdac4 --- /dev/null +++ b/templates/user/settings/applications_oauth2_list.tmpl @@ -0,0 +1,74 @@ +
+
+
+ {{ctx.Locale.Tr "settings.oauth2_application_create_description"}} +
+ {{range .Applications}} +
+
+ {{svg "octicon-apps" 32}} +
+
+
{{.Name}}
+
+ {{ctx.Locale.Tr "settings.oauth2_client_id"}} + {{.ClientID}} +
+
+ {{$isBuiltin := and $.BuiltinApplications (index $.BuiltinApplications .ClientID)}} +
+ {{if $isBuiltin}} + {{ctx.Locale.Tr "locked"}} + {{else}} + + {{svg "octicon-pencil" 16 "tw-mr-1"}} + {{ctx.Locale.Tr "settings.oauth2_application_edit"}} + + + {{end}} +
+
+ {{end}} +
+ + +
+ +
+
+ {{ctx.Locale.Tr "settings.create_oauth2_application"}} +
+
+ {{.CsrfTokenHtml}} +
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
-- cgit v1.2.3