X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=d3fadad93a2c2c1e5afcbc5fbcdf7362f4e3923a;hb=1c962161585180f8a9f963d05a2a87b78a5a37a5;hp=d729c41c94201bbf52f308a3b02781f50a18445a;hpb=39bde74f3805057f70c81494e04e460f9b3b59dd;p=timetracker.git
diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl
index d729c41c..d3fadad9 100644
--- a/WEB-INF/templates/users.tpl
+++ b/WEB-INF/templates/users.tpl
@@ -6,16 +6,6 @@
{if $user->can('manage_users')}
- {if $group_dropdown}
-{$forms.usersForm.open} {* usersForm consists only of one dropdown group control *}
-
-
- {$i18n.label.group}: {$forms.usersForm.group.control} |
-
-
-{$forms.usersForm.close}
- {/if}
-
{if $inactive_users}
@@ -24,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}
@@ -65,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}
|