X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=fb46c96d6b795e077b1a8798deb4a69cf3d93397;hb=35af76f7c66ba10e2e1279f2e9afbdb2b09a141d;hp=008413391a0e8fbb8079987ea1fe467de7c0776e;hpb=68a5cc5aff88d6144b6db95f7d01315c15e2ebda;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index 00841339..fb46c96d 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -6,6 +6,16 @@ {if $user->can('manage_users')} + {if $group_dropdown} +{$forms.usersForm.open} {* usersForm consists only of one dropdown group control *} + + + + +
{$i18n.label.group}: {$forms.usersForm.group.control}
+{$forms.usersForm.close} + {/if} + {if $inactive_users} @@ -28,7 +38,7 @@ - {if $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)} + {if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)} {if $u.id != $user->id}{else}{/if} {else} @@ -63,7 +73,7 @@ - {if $u.rank < $user->rank} + {if $u.group_id != $user->group_id || $u.rank < $user->rank} {else}
{$i18n.form.users.active_users}
{$u.login|escape} {$u.role_name|escape}{$i18n.label.edit}{$i18n.label.delete}{$u.name|escape} {$u.login|escape} {$u.role_name|escape}{$i18n.label.edit} {$i18n.label.delete}