From: Marc Schumann Date: Tue, 11 Jun 2013 16:15:55 +0000 (+0200) Subject: Bug 875377: Hint how to change the email address should only be displayed if the... X-Git-Tag: bugzilla-4.5.1~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39f638eee6327e0a003dbde6dd51934979b3cc7;p=thirdparty%2Fbugzilla.git Bug 875377: Hint how to change the email address should only be displayed if the address can be changed r/a=LpSolit --- diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index ef8d0ae298..9a5f22a8c7 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -28,11 +28,13 @@ [% END %] -

- If you want to change your e-mail address [% user.email FILTER html %] - to which [% terms.Bugzilla %] sends notifications, click the "Account - Information" tab above. -

+[% IF user.authorizer.can_change_email && Param('allowemailchange') %] +

+ If you want to change your e-mail address + [% user.email FILTER html %] to which [% terms.Bugzilla %] sends + notifications, click the "Account Information" tab above. +

+[% END %]

If you don't like getting a notification for "trivial"