{if $user->can('manage_users')}
{if $inactive_users}
{/if}
{if $show_quota}
{/if}
{if $active_users}
{foreach $active_users as $u}
{if $uncompleted_indicators}
{/if}
{$u.name|escape}
|
{$u.login|escape} |
{$u.role_name|escape} |
{if $show_quota}
{$u.quota_percent} |
{/if}
{if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)}
{$i18n.label.edit} |
{if $u.id != $user->id}{$i18n.label.delete} | {else} | {/if}
{else}
|
|
{/if}
{/foreach}
{/if}
{if $inactive_users}
{if $show_quota}
{/if}
{foreach $inactive_users as $u}
{$u.name|escape} |
{$u.login|escape} |
{$u.role_name|escape} |
{if $show_quota}
{$u.quota_percent} |
{/if}
{if $u.group_id != $user->group_id || $u.rank < $user->rank}
{$i18n.label.edit} |
{$i18n.label.delete} |
{else}
|
|
{/if}
{/foreach}
{/if}
{else}
{foreach $active_users as $u}
{$u.name|escape} |
{$u.login|escape} |
{$u.role_name|escape} |
{/foreach}
{/if}
|