X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=c9f67503ee2468bfe4ee13010f37eda6bd865ae2;hb=2b39252b38f5bd1be462224fe781a40f5b0ddf95;hp=fb46c96d6b795e077b1a8798deb4a69cf3d93397;hpb=fa6508ac21c30d6bfef008387fabd29a843d7b66;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index fb46c96d..c9f67503 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -6,41 +6,37 @@ {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} - + {/if} + {if $active_users} - - + {if $show_quota} + + {/if} + + - {if $active_users} {foreach $active_users as $u} + {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} + + {if $u.id != $user->id}{else}{/if} {else} @@ -60,22 +56,28 @@ {if $inactive_users}
{$i18n.form.users.active_users}
{$i18n.label.active_users}
{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.quota}
- {if $user->uncompleted_indicators} + {if $uncompleted_indicators} - {/if} + {/if} {$u.name|escape} {$u.login|escape} {$u.role_name|escape}{$u.quota_percent}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}
- + - - + {if $show_quota} + + {/if} + + {foreach $inactive_users as $u} + {if $show_quota} + + {/if} {if $u.group_id != $user->group_id || $u.rank < $user->rank} - - + + {else}
{$i18n.form.users.inactive_users}
{$i18n.label.inactive_users}
{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.quota}
{$u.name|escape} {$u.login|escape} {$u.role_name|escape}{$u.quota_percent}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}