X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fusers.tpl;h=eaeb4770fcb27da7976b1a24395318556188643a;hb=2b39252b38f5bd1be462224fe781a40f5b0ddf95;hp=f3dbe85071a0f99b210161cab39e9426e3f1fa6e;hpb=6c7a98f61e74aeae700b523729abb49ff19d3704;p=timetracker.git diff --git a/WEB-INF/templates/mobile/users.tpl b/WEB-INF/templates/mobile/users.tpl index f3dbe850..eaeb4770 100644 --- a/WEB-INF/templates/mobile/users.tpl +++ b/WEB-INF/templates/mobile/users.tpl @@ -8,21 +8,21 @@ {if $user->can('manage_users')} {if $inactive_users} - + {/if} + {if $active_users} - {if $active_users} - {foreach $active_users as $u} + {foreach $active_users as $u}
{$i18n.form.users.active_users}
{$i18n.label.active_users}
{$i18n.label.person_name} {$i18n.label.login} {$i18n.form.users.role}
- {if $user->uncompleted_indicators} + {if $uncompleted_indicators} {/if} - {if $u.rank <= $user->rank} + {if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)} {$u.name|escape} {else} {$u.name|escape} @@ -45,7 +45,7 @@ {if $inactive_users} - + @@ -54,7 +54,7 @@ {foreach $inactive_users as $u}
{$i18n.form.users.inactive_users}
{$i18n.label.inactive_users}
{$i18n.label.person_name} {$i18n.label.login}
- {if $u.rank <= $user->rank} + {if $u.group_id != $user->group_id || $u.rank < $user->rank} {$u.name|escape} {else} {$u.name|escape}