{if $user->can('manage_users')}
{if $inactive_users}
{/if}
{if $active_users}
{foreach $active_users as $u}
{if $uncompleted_indicators}
{/if}
{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}
{/if}
|
{$u.login|escape} |
{$u.role_name|escape} |
{/foreach}
{/if}
{if $inactive_users}
{foreach $inactive_users as $u}
{if $u.group_id != $user->group_id || $u.rank < $user->rank}
{$u.name|escape}
{else}
{$u.name|escape}
{/if}
|
{$u.login|escape} |
{$u.role_name|escape} |
{/foreach}
{/if}
{else}
{foreach $active_users as $u}
{$u.name|escape} |
{$u.login|escape} |
{$u.role_name|escape} |
{/foreach}
{/if}
|