From 1b3b35def88b77997d735cc616d18bf478ab197e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Gir=C3=A3o?= Date: Tue, 11 Jun 2024 18:47:43 +0000 Subject: [PATCH] Change dropdown menus to radio buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: João Tiago --- templates/user/settings/notifications.tmpl | 149 +++++++++++++-------- 1 file changed, 93 insertions(+), 56 deletions(-) diff --git a/templates/user/settings/notifications.tmpl b/templates/user/settings/notifications.tmpl index 4c8d7c64c8..6f4aa48c69 100644 --- a/templates/user/settings/notifications.tmpl +++ b/templates/user/settings/notifications.tmpl @@ -1,59 +1,96 @@ {{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings notifications")}} -
-

- {{ctx.Locale.Tr "settings.manage_notifications"}} -

-
-
- {{if $.EnableNotifyMail}} -
-
{{ctx.Locale.Tr "settings.email_notifications_desc"}}
-
- {{$.CsrfTokenHtml}} - -
- - -
-
-
- {{end}} -
-
-
-
-
-
{{ctx.Locale.Tr "settings.ui_notifications_desc"}}
-
- {{$.CsrfTokenHtml}} - -
- - -
-
-
-
-
+
+

+ {{ctx.Locale.Tr "settings.manage_notifications"}} +

+
+
+ {{if $.EnableNotifyMail}} +
{{ctx.Locale.Tr "settings.email_notifications_desc"}}
+
+ {{$.CsrfTokenHtml}} + + + +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ + +
+ {{end}} + +
+
+ +
+
+
{{ctx.Locale.Tr "settings.ui_notifications_desc"}}
+
+ {{$.CsrfTokenHtml}} + + + +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ + +
+ +
+
{{template "user/settings/layout_footer" .}}