X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=d3fadad93a2c2c1e5afcbc5fbcdf7362f4e3923a;hb=624d2811d204264914442a71c560adce8ca97d20;hp=008413391a0e8fbb8079987ea1fe467de7c0776e;hpb=68a5cc5aff88d6144b6db95f7d01315c15e2ebda;p=timetracker.git
diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl
index 00841339..d3fadad9 100644
--- a/WEB-INF/templates/users.tpl
+++ b/WEB-INF/templates/users.tpl
@@ -14,21 +14,27 @@
-
-
+ {if $show_quota}
+
+ {/if}
+
+
{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}
@@ -55,15 +61,21 @@
-
-
+ {if $show_quota}
+
+ {/if}
+
+
{foreach $inactive_users as $u}
{$u.name|escape} |
{$u.login|escape} |
{$u.role_name|escape} |
- {if $u.rank < $user->rank}
+ {if $show_quota}
+ {$u.quota_percent} |
+ {/if}
+ {if $u.group_id != $user->group_id || $u.rank < $user->rank}
{$i18n.label.edit} |
{$i18n.label.delete} |
{else}