X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=d3fadad93a2c2c1e5afcbc5fbcdf7362f4e3923a;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=f47435322261a9510046b0a8d2ee1b2ebb198974;hpb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index f4743532..d3fadad9 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -11,24 +11,30 @@ {$i18n.form.users.active_users} {/if} - {$i18n.label.person_name} - {$i18n.label.login} - {$i18n.form.users.role} - {$i18n.label.edit} - {$i18n.label.delete} + {$i18n.label.person_name} + {$i18n.label.login} + {$i18n.form.users.role} + {if $show_quota} + {$i18n.label.quota} + {/if} + {$i18n.label.edit} + {$i18n.label.delete} {if $active_users} {foreach $active_users as $u} - {if $user->uncompleted_indicators} + {if $uncompleted_indicators} {/if} {$u.name|escape} {$u.login|escape} {$u.role_name|escape} - {if $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)} + {if $show_quota} + {$u.quota_percent} + {/if} + {if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)} {$i18n.label.edit} {if $u.id != $user->id}{$i18n.label.delete}{else}{/if} {else} @@ -52,18 +58,24 @@ - - - - - + + + + {if $show_quota} + + {/if} + + {foreach $inactive_users as $u} - {if $u.rank < $user->rank} + {if $show_quota} + + {/if} + {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.edit}{$i18n.label.delete}{$i18n.label.person_name}{$i18n.label.login}{$i18n.form.users.role}{$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}