From a39f638eee6327e0a003dbde6dd51934979b3cc7 Mon Sep 17 00:00:00 2001 From: Marc Schumann Date: Tue, 11 Jun 2013 18:15:55 +0200 Subject: Bug 875377: Hint how to change the email address should only be displayed if the address can be changed r/a=LpSolit --- template/en/default/account/prefs/email.html.tmpl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'template/en/default/account/prefs') 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 @@ [% 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" -- cgit v1.2.3-24-g4f1b