]> 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:08:39 +0000 (16:08 +0800)
committerByron Jones <bjones@mozilla.com>
Thu, 4 Oct 2012 08:08:39 +0000 (16:08 +0800)
r=glob, a=LpSolit

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

index 0c016473d80c01bb8b4212fb8573dbffbe753fce..f810f6486a161d325548bb2a0496d5e0e64510aa 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