X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=fb46c96d6b795e077b1a8798deb4a69cf3d93397;hb=722638fd8cc9400c5228106537effa1dcd0f7fa5;hp=f47435322261a9510046b0a8d2ee1b2ebb198974;hpb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index f4743532..fb46c96d 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -6,14 +6,24 @@ {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} {/if} - - - + + + @@ -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} @@ -52,9 +62,9 @@
{$i18n.form.users.active_users}
{$i18n.label.person_name}{$i18n.label.login}{$i18n.form.users.role}{$i18n.label.person_name}{$i18n.label.login}{$i18n.form.users.role} {$i18n.label.edit} {$i18n.label.delete}
{$u.login|escape} {$u.role_name|escape}{$i18n.label.edit}{$i18n.label.delete}
- - - + + + @@ -63,7 +73,7 @@ - {if $u.rank < $user->rank} + {if $u.group_id != $user->group_id || $u.rank < $user->rank} {else}
{$i18n.form.users.inactive_users}
{$i18n.label.person_name}{$i18n.label.login}{$i18n.form.users.role}{$i18n.label.person_name}{$i18n.label.login}{$i18n.form.users.role} {$i18n.label.edit} {$i18n.label.delete}
{$u.name|escape} {$u.login|escape} {$u.role_name|escape}{$i18n.label.edit} {$i18n.label.delete}