X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;fp=WEB-INF%2Ftemplates%2Fusers.tpl;h=d3fadad93a2c2c1e5afcbc5fbcdf7362f4e3923a;hb=30634c0b3869d459552df1da06ec264fb1e6b086;hp=236475c192000b603e470e3259285e470e82e73b;hpb=1567369ac1fb744b704cacbe77542f55e410d61b;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index 236475c1..d3fadad9 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} + {$i18n.label.edit} + {$i18n.label.delete} {if $active_users} {foreach $active_users as $u} @@ -28,6 +31,9 @@ {$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} @@ -55,14 +61,20 @@ {$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role} - {$i18n.label.edit} - {$i18n.label.delete} + {if $show_quota} + {$i18n.label.quota} + {/if} + {$i18n.label.edit} + {$i18n.label.delete} {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}