diff options
author | Marc Schumann <bugzilla.1.wurblzap@spamgourmet.com> | 2013-06-11 18:15:55 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-06-11 18:15:55 +0200 |
commit | a39f638eee6327e0a003dbde6dd51934979b3cc7 (patch) | |
tree | c13397cfd3360e25bfd23b9c855655322fbbdfbd /template/en/default | |
parent | 36d7206511745cf633956bb2375ef511eb2f3854 (diff) | |
download | bugzilla-a39f638eee6327e0a003dbde6dd51934979b3cc7.tar.gz bugzilla-a39f638eee6327e0a003dbde6dd51934979b3cc7.tar.xz |
Bug 875377: Hint how to change the email address should only be displayed if the address can be changed
r/a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/account/prefs/email.html.tmpl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index ef8d0ae29..9a5f22a8c 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -28,11 +28,13 @@ </div> [% END %] -<p> - If you want to change your e-mail address <b>[% user.email FILTER html %]</b> - to which [% terms.Bugzilla %] sends notifications, click the "Account - Information" tab above. -</p> +[% IF user.authorizer.can_change_email && Param('allowemailchange') %] + <p> + If you want to change your e-mail address + <b>[% user.email FILTER html %]</b> to which [% terms.Bugzilla %] sends + notifications, click the "Account Information" tab above. + </p> +[% END %] <p> If you don't like getting a notification for "trivial" |