aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGerd Katzenbeisser <hakito@users.noreply.github.com>2023-10-25 13:12:36 +0200
committerGitHub <noreply@github.com>2023-10-25 11:12:36 +0000
commit31f8880bc252a25075f8752e2722b316c6e46ec7 (patch)
treed0b0ce02f353c1ad825a0e26c1e921498608716d /templates
parentf39256f035a561fbd10955ac40ef5ad4b794f47d (diff)
downloadgitea-31f8880bc252a25075f8752e2722b316c6e46ec7.tar.gz
gitea-31f8880bc252a25075f8752e2722b316c6e46ec7.zip
Show placeholder email in privacy popup (#27770)
This PR will show the _noreply_ address in the privacy popup _keep_email_private_popup_. I had to look into the source code to figure out which E-Mail Adress I had to use on gitea.com to hide it from public access. According to the contribution guidelines I only updated the en-US translation file. Co-authored-by: Hakito <hakito@git.example.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/user/settings/profile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl
index a508a5e835..1f32aed0e8 100644
--- a/templates/user/settings/profile.tmpl
+++ b/templates/user/settings/profile.tmpl
@@ -73,7 +73,7 @@
<div class="field">
<div class="ui checkbox">
- <label data-tooltip-content="{{ctx.Locale.Tr "settings.keep_email_private_popup"}}"><strong>{{ctx.Locale.Tr "settings.keep_email_private"}}</strong></label>
+ <label data-tooltip-content="{{ctx.Locale.Tr "settings.keep_email_private_popup" .SignedUser.GetPlaceholderEmail}}"><strong>{{ctx.Locale.Tr "settings.keep_email_private"}}</strong></label>
<input name="keep_email_private" type="checkbox" {{if .SignedUser.KeepEmailPrivate}}checked{{end}}>
</div>
</div>