{if $home_office}
    <span class="dialog_make_btn16 smallbtns home_office_2d" title="{$trans_home_office}"
        onclick="openx('portlet', 'staff_status', 'set_home_office', 'false', '{$staff_status_form_id}');"></span>
{else}
    <span class="dialog_make_btn16 smallbtns no_home_office_2d" title="{$i.personalapp_no_home_office} {$trans_home_office}"
        onclick="openx('portlet', 'staff_status', 'set_home_office', 'true', '{$staff_status_form_id}');"></span>
{/if}