From ddddaf2b67207056ebb407ea68f9e0e6a697a37e Mon Sep 17 00:00:00 2001 From: "karl.kornel%mindspeed.com" <> Date: Sun, 30 Jul 2006 10:50:24 +0000 Subject: Bug 100953: Move data/nomail into the DB and implement a UI to edit it Patch by A. Karl Kornel r=wurblzap a=justdave --- template/en/default/admin/users/userdata.html.tmpl | 18 ++++++++++++++++++ template/en/default/global/messages.html.tmpl | 6 ++++++ 2 files changed, 24 insertions(+) (limited to 'template') diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl index afb402554..be29a1b4b 100644 --- a/template/en/default/admin/users/userdata.html.tmpl +++ b/template/en/default/admin/users/userdata.html.tmpl @@ -69,6 +69,24 @@ [% END %] + + + + + (This affects bugmail and whinemail, not password-reset or other + non-bug-related emails) + [% IF editform %] + + [% END %] + + diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index 45b584bea..08321ed2c 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -57,6 +57,12 @@ A new password has been set. [% ELSIF field == 'disabledtext' %] The disable text has been modified. + [% ELSIF field == 'disable_mail' %] + [% IF otheruser.email_disabled %] + Bugmail has been disabled. + [% ELSE %] + Bugmail has been enabled. + [% END %] [% END %] [% END %] -- cgit v1.2.3-24-g4f1b