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