{*+********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.1 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initial Developer of the Original Code is vtiger. * Portions created by vtiger are Copyright (C) vtiger. * All Rights Reserved. ************************************************************************************} {* modules/Settings/Roles/views/EditAjax.php *} {* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
{if $RECORD_MODEL->getId()}

{vtranslate('LBL_EDIT_ROLE', $QUALIFIED_MODULE)}

{else}

{vtranslate('LBL_CREATE_ROLE', $QUALIFIED_MODULE)}

{/if}

{assign var=RECORD_ID value=$RECORD_MODEL->getId()} {assign var=HAS_PARENT value="{if $RECORD_MODEL->getParent()}true{/if}"} {if $HAS_PARENT} {/if}

{assign var="ROLE_PROFILES" value=$RECORD_MODEL->getProfiles()}