summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-09 06:55:46 +0200
committerlpsolit%gmail.com <>2006-08-09 06:55:46 +0200
commitc912888237c96e5de3c0e73e68cac1dfddb2f556 (patch)
tree5d9ec4ca71c50b2d48929344d23da78b4063f28c /template
parent3bf04a6f9d450b7fabc79ba9ca1d8d5332942adb (diff)
downloadbugzilla-c912888237c96e5de3c0e73e68cac1dfddb2f556.tar.gz
bugzilla-c912888237c96e5de3c0e73e68cac1dfddb2f556.tar.xz
Bug 347269: Deleting a user account displays incoherent comments - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/users/confirm-delete.html.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl
index e5f3a392b..5a4032795 100644
--- a/template/en/default/admin/users/confirm-delete.html.tmpl
+++ b/template/en/default/admin/users/confirm-delete.html.tmpl
@@ -31,9 +31,9 @@
# flags.requestee: number of flags the viewed user is being asked for
# flags.setter: number of flags the viewed user has set
# longdescs: number of bug comments the viewed user has written
- # namedqueries: array of IDs of named queries the user has created
+ # namedqueries: number of named queries the user has created
# namedquery_group_map: number of named queries the user has shared
- # profiles_activity: number of named queries the user has created
+ # profiles_activity: number of changes made to other users' profiles
# series: number of series the viewed user has created
# votes: number of bugs the viewed user has voted on
# watch.watched: number of users the viewed user is being watched
@@ -302,19 +302,19 @@
[% IF namedqueries %]
<li>
[% otheruser.login FILTER html %] has
- [% IF namedqueries.size == 1 %]
+ [% IF namedqueries == 1 %]
a [% 'shared' IF namedquery_group_map %] named search
[% ELSE %]
- [%+ namedqueries.size %] named searches
+ [%+ namedqueries FILTER html %] named searches
[% END %].
- [% IF namedqueries.size == 1 %]
+ [% IF namedqueries == 1 %]
This named search
[% ELSE %]
These named searches
[% END %]
will be deleted along with the user account.
[% IF namedquery_group_map %]
- [% IF namedqueries.size > 1 %]
+ [% IF namedqueries > 1 %]
Of these,
[% IF namedquery_group_map > 1 %]
[%+ namedquery_group_map FILTER html %] are