{if $user->isManager()}
{$u.name|escape:'html'}
{else}
{if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}{$u.name|escape:'html'}{/if}
{/if}
|
{$u.login|escape:'html'} |
{if $smarty.const.ROLE_MANAGER == $u.role}
{$i18n.form.users.manager} |
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
{$i18n.form.users.comanager} |
{elseif $smarty.const.ROLE_CLIENT == $u.role}
{$i18n.label.client} |
{elseif $smarty.const.ROLE_USER == $u.role}
{$i18n.label.user} |
{/if}
{if $user->isManager()}
{$i18n.label.edit} |
{else}
{if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}{$i18n.label.edit}{/if} |
{/if}
{/foreach}