From 1040bda8cc6c2017ecda26bdcbb95f1d64398d1e Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 19 Nov 2007 18:43:08 +0000 Subject: Bug 395924: Deleting a user account may delete other user's whine - Patch by Frédéric Buclin r=wurblzap a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/admin/users/confirm-delete.html.tmpl | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'template') diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl index 52c98f0b1..218775dca 100644 --- a/template/en/default/admin/users/confirm-delete.html.tmpl +++ b/template/en/default/admin/users/confirm-delete.html.tmpl @@ -372,27 +372,15 @@ will cease along with the deletion of the user account. [% END %] - [% IF whine_events || whine_schedules %] + [% IF whine_events %]
  • - [% otheruser.login FILTER html %] - [% IF whine_events %] - has scheduled - [% IF whine_events == 1 %] - a whine - [% ELSE %] - [%+ whine_events %] whines - [% END %] - [% END %] - [% IF whine_schedules %] - [%+ 'and' IF whine_events %] - is on the receiving end of - [% IF whine_schedules == 1 %] - a whine - [% ELSE %] - [%+ whine_schedules %] whines - [% END %] + [% otheruser.login FILTER html %] has scheduled + [% IF whine_events == 1 %] + a whine + [% ELSE %] + [%+ whine_events %] whines [% END %]. - [% IF whine_events + whine_schedules == 1 %] + [% IF whine_events == 1 %] This whine [% ELSE %] These whines @@ -400,6 +388,18 @@ will be deleted along with the user account.
  • [% END %] + [% IF whine_schedules %] +
  • + [% otheruser.login FILTER html %] is on the receiving end of + [% IF whine_schedules == 1 %] + a whine + [% ELSE %] + [%+ whine_schedules %] whines + [% END %]. + The corresponding schedules will be deleted along with the user account, + but the whines themselves will be left unaltered. +
  • + [% END %] [% display_warning = 1 %] -- cgit v1.2.3-24-g4f1b