{$_is_admin = $wa->user()->isAdmin('crm')} {if !empty($_contact)} {$_photo = $_contact->getPhoto(50)} {$_jobtitle = $_contact->get('jobtitle')} {$_company = $_contact->get('company')}
{if !empty($_photo)} {/if} [`Owner profile`] {if isset($_type) && $_type == 'responsible' && ($_is_admin || $_contact.id == $wa->user()->getId())}
[`Transfer ownership`] [`Remove owner`]
[`Transfer ownership`]
[`Cancel`]
{/if}
{else}
[`Set the owner`]
[`Set the owner`]
[`Cancel`]
{/if}