X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fmobile%2Fusers.tpl;h=eaeb4770fcb27da7976b1a24395318556188643a;hb=4334f16faa68ecaec5aceb5c16bb500d62a3688f;hp=ae04bd448a30a9ae16adb88efc97918e4abc1ffb;hpb=035970e91c0a4c132874656b8f13a88c46684717;p=timetracker.git
diff --git a/WEB-INF/templates/mobile/users.tpl b/WEB-INF/templates/mobile/users.tpl
index ae04bd44..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}
{if $uncompleted_indicators}
{/if}
- {if $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)}
+ {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}
- {if $u.rank < $user->rank}
+ {if $u.group_id != $user->group_id || $u.rank < $user->rank}
{$u.name|escape}
{else}
{$u.name|escape}
| |