summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-08 03:11:36 +0100
committertravis%sedsystems.ca <>2005-03-08 03:11:36 +0100
commit0df76bb73976409345e1edc011844af8d99a7a47 (patch)
tree194b81488097d8b3b4e6230ddcf19194377f4b39 /template/en/default
parentf03496f574d574aa7fa25bf3130cfa11c5735ded (diff)
downloadbugzilla-0df76bb73976409345e1edc011844af8d99a7a47.tar.gz
bugzilla-0df76bb73976409345e1edc011844af8d99a7a47.tar.xz
Bug 284262 : Bundle of small editusers.cgi post-checkin fixes
Patch by Marc Schumann <wurblzap@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/admin/users/confirm-delete.html.tmpl8
1 files changed, 3 insertions, 5 deletions
diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl
index ece5de7e0..91b9395b8 100644
--- a/template/en/default/admin/users/confirm-delete.html.tmpl
+++ b/template/en/default/admin/users/confirm-delete.html.tmpl
@@ -21,8 +21,6 @@
# editusers: is viewing user member of editusers?
# editcomponents: is viewing user member of editcomponents?
# otheruser: Bugzilla::User object of the viewed user.
- # groups: array of Group names the viewed user is a member
- # of.
# product_responsibilities: list of hashes, one entry per Bugzilla component.
# productname: Name of the product.
# componentname: Name of the component.
@@ -78,8 +76,8 @@
<td>
[% IF groups.size %]
<ul>
- [% FOREACH group = groups %]
- <li>[% group.name FILTER html %]</li>
+ [% FOREACH group = otheruser.groups.keys %]
+ <li>[% group FILTER html %]</li>
[% END %]
</ul>
[% ELSE %]
@@ -96,7 +94,7 @@
<li>
[% andstring = '' %]
[% FOREACH responsibility = ['initialowner', 'initialqacontact'] %]
- [% IF component.$responsibility == userid %]
+ [% IF component.$responsibility == otheruser.id %]
[% andstring %] [% responsibilityterms.$responsibility %]
[% andstring = ' and ' %]
[% END %]