]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 796386: Warn user if bugmails have been disabled
authorMatt Tyson <mtyson@redhat.com>
Thu, 4 Oct 2012 08:07:57 +0000 (16:07 +0800)
committerByron Jones <bjones@mozilla.com>
Thu, 4 Oct 2012 08:07:57 +0000 (16:07 +0800)
r=glob, a=LpSolit

template/en/default/account/prefs/email.html.tmpl

index 654b666739bad4c573b137e22094703355d47802..3dbed12e0adc939a3e34ff83179291ac8c00b1f3 100644 (file)
   #               receiving mail for that reason when in that role.
   #%]
 
+[%# If the user's bugmail has been disabled by admins, show a warning. %]
+[% IF user.email_disabled %]
+  <div class="warningmessages">
+    Your [% terms.bug %]mail has been disabled by the [% terms.Bugzilla %]
+    administrator.  Please contact [% Param('maintainer') %] to enable
+    [%+ terms.bug %]mails.
+  </div>
+[% END %]
+
 <p>
   If you don't like getting a notification for "trivial"
   changes to [% terms.bugs %], you can use the settings below to