diff options
author | Tyrone Yeh <siryeh@gmail.com> | 2022-07-28 16:30:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 16:30:12 +0800 |
commit | 3bd8f50af819b8dfc86b9fecdfc36ca7774c6a2d (patch) | |
tree | ffa9a1e950cb96602e7057d73e9b2dc795357ac9 /templates/user | |
parent | 86e5268c396bd89716b2617a4949837982c1b0c3 (diff) | |
download | gitea-3bd8f50af819b8dfc86b9fecdfc36ca7774c6a2d.tar.gz gitea-3bd8f50af819b8dfc86b9fecdfc36ca7774c6a2d.zip |
Added email notification option to receive all own messages (#20179)
Sometimes users want to receive email notifications of messages they create or reply to,
Added an option to personal preferences to allow users to choose
Closes #20149
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/settings/account.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl index 326a8cb512..38fc430005 100644 --- a/templates/user/settings/account.tmpl +++ b/templates/user/settings/account.tmpl @@ -62,6 +62,7 @@ <div class="text">{{$.locale.Tr "settings.email_notifications"}}</div> <div class="menu"> <div data-value="enabled" class="{{if eq .EmailNotificationsPreference "enabled"}}active selected {{end}}item">{{$.locale.Tr "settings.email_notifications.enable"}}</div> + <div data-value="andyourown" class="{{if eq .EmailNotificationsPreference "andyourown"}}active selected {{end}}item">{{$.locale.Tr "settings.email_notifications.andyourown"}}</div> <div data-value="onmention" class="{{if eq .EmailNotificationsPreference "onmention"}}active selected {{end}}item">{{$.locale.Tr "settings.email_notifications.onmention"}}</div> <div data-value="disabled" class="{{if eq .EmailNotificationsPreference "disabled"}}active selected {{end}}item">{{$.locale.Tr "settings.email_notifications.disable"}}</div> </div> |