X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=6067ce6f8f1d02ea28ed672048ed502ce38091a9;hb=2a2bb2cc8f9551d1e93de2d34e27b21201f9e44a;hp=236475c192000b603e470e3259285e470e82e73b;hpb=f9e5e8956921839e6742a85db2067ddc6ef5b2b8;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index 236475c1..6067ce6f 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -8,14 +8,17 @@ {if $user->can('manage_users')} {if $inactive_users} - + {/if} - - + {if $show_quota} + + {/if} + + {if $active_users} {foreach $active_users as $u} @@ -28,9 +31,12 @@ + {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} + + {if $u.id != $user->id}{else}{/if} {else} @@ -50,22 +56,28 @@ {if $inactive_users}
{$i18n.form.users.active_users}
{$i18n.label.active_users}
{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.quota}
{$u.login|escape} {$u.role_name|escape}{$u.quota_percent}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}
- + - - + {if $show_quota} + + {/if} + + {foreach $inactive_users as $u} + {if $show_quota} + + {/if} {if $u.group_id != $user->group_id || $u.rank < $user->rank} - - + + {else}
{$i18n.form.users.inactive_users}
{$i18n.label.inactive_users}
{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.quota}
{$u.name|escape} {$u.login|escape} {$u.role_name|escape}{$u.quota_percent}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}