diff options
Diffstat (limited to 'template/en/default/admin/users')
-rw-r--r-- | template/en/default/admin/users/confirm-delete.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/admin/users/userdata.html.tmpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl index 218775dca..77d6772a6 100644 --- a/template/en/default/admin/users/confirm-delete.html.tmpl +++ b/template/en/default/admin/users/confirm-delete.html.tmpl @@ -69,8 +69,8 @@ <td> [% IF otheruser.groups.size %] <ul> - [% FOREACH group = otheruser.groups.keys %] - <li>[% group FILTER html %]</li> + [% FOREACH group = otheruser.groups %] + <li>[% group.name FILTER html %]</li> [% END %] </ul> [% ELSE %] diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl index feee4c5d6..f23aa1b85 100644 --- a/template/en/default/admin/users/userdata.html.tmpl +++ b/template/en/default/admin/users/userdata.html.tmpl @@ -27,7 +27,7 @@ <input size="64" maxlength="255" name="login" id="login" value="[% otheruser.login FILTER html %]" /> [% IF editform %] - [% IF !otheruser.groups.bz_sudo_protect %] + [% IF !otheruser.in_group('bz_sudo_protect') %] <br /> <a href="relogin.cgi?action=prepare-sudo&target_login= [%- otheruser.login FILTER url_quote %]">Impersonate this user</a> |