X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=d3fadad93a2c2c1e5afcbc5fbcdf7362f4e3923a;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=4faf1249d469b4da8cfe539ef82294165a07b69e;hpb=035970e91c0a4c132874656b8f13a88c46684717;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index 4faf1249..d3fadad9 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -6,16 +6,6 @@ {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} @@ -24,8 +14,11 @@ - - + {if $show_quota} + + {/if} + + {if $active_users} {foreach $active_users as $u} @@ -38,6 +31,9 @@ + {if $show_quota} + + {/if} {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} @@ -65,14 +61,20 @@ - - + {if $show_quota} + + {/if} + + {foreach $inactive_users as $u} + {if $show_quota} + + {/if} {if $u.group_id != $user->group_id || $u.rank < $user->rank}
{$i18n.form.users.active_users}
{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.quota}{$i18n.label.edit}{$i18n.label.delete}
{$u.login|escape} {$u.role_name|escape}{$u.quota_percent}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.quota}{$i18n.label.edit}{$i18n.label.delete}
{$u.name|escape} {$u.login|escape} {$u.role_name|escape}{$u.quota_percent}{$i18n.label.edit} {$i18n.label.delete}