X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=d3fadad93a2c2c1e5afcbc5fbcdf7362f4e3923a;hb=1e825770a4defc5eb8d2032c35dc90e8bc8684da;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 $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)} + {if $show_quota} + + {/if} + {if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)} {if $u.id != $user->id}{else}{/if} {else} @@ -65,15 +61,21 @@ - - + {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.active_users}
{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.quota}{$i18n.label.edit}{$i18n.label.delete}
- {if $user->uncompleted_indicators} + {if $uncompleted_indicators} {/if} {$u.name|escape} {$u.login|escape} {$u.role_name|escape}{$u.quota_percent}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}{$i18n.label.edit}{$i18n.label.delete}{$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}