summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/sanitycheck
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-06-14 18:15:22 +0200
committerlpsolit%gmail.com <>2008-06-14 18:15:22 +0200
commit1ad55bf5f14320795f3dae361b7bb0654c2c60d9 (patch)
treec99cc9eadc61f93a8810acb70de8fed0231ea02c /template/en/default/admin/sanitycheck
parent7634b5f6cd563471fdeb9c9cb7ae101289a1b0de (diff)
downloadbugzilla-1ad55bf5f14320795f3dae361b7bb0654c2c60d9.tar.gz
bugzilla-1ad55bf5f14320795f3dae361b7bb0654c2c60d9.tar.xz
Bug 438810: Whines fail when a group or user that was receiving whines is manually deleted, and sanitycheck.cgi should report this problem - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default/admin/sanitycheck')
-rw-r--r--template/en/default/admin/sanitycheck/messages.html.tmpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/template/en/default/admin/sanitycheck/messages.html.tmpl b/template/en/default/admin/sanitycheck/messages.html.tmpl
index 4300f7815..14e425625 100644
--- a/template/en/default/admin/sanitycheck/messages.html.tmpl
+++ b/template/en/default/admin/sanitycheck/messages.html.tmpl
@@ -288,6 +288,25 @@
[% ELSIF san_tag == "vote_count_alert" %]
Bad vote sum for [% terms.bug %] [%+ id FILTER html %].
+ [% ELSIF san_tag == "whines_obsolete_target_deletion_start" %]
+ OK, now removing non-existent targets from whines.
+
+ [% ELSIF san_tag == "whines_obsolete_target_deletion_end" %]
+ Non-existent targets have been removed from whines.
+
+ [% ELSIF san_tag == "whines_obsolete_target_start" %]
+ Checking for whines with non-existent targets.
+
+ [% ELSIF san_tag == "whines_obsolete_target_alert" %]
+ [% FOREACH schedule = schedules %]
+ Non-existent [% (type == constants.MAILTO_USER) ? "user" : "group" FILTER html %]
+ [%+ schedule.1 FILTER html %] for whine schedule [% schedule.0 FILTER html %]<br>
+ [% END %]
+
+ [% ELSIF san_tag == "whines_obsolete_target_fix" %]
+ <a href="sanitycheck.cgi?remove_old_whine_targets=1">Click here to
+ remove old targets</a>
+
[% END %]
[% END %]