layouts/basic/modules/Settings/Vtiger/SettingsMenuStart.tpl
{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("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.
* Contributor(s): YetiForce S.A.
********************************************************************************/
-->*}
{strip}
{include file=\App\Layout::getTemplatePath('PageHeader.tpl', $MODULE_NAME)}
<div class="bodyContents">
{if $USER_MODEL->isAdminUser() && !\App\YetiForce\Register::isRegistered()}
{assign var=COMPANIES_LINK value=\App\Language::translate('LBL_YETIFORCE_REGISTRATION_CHECK_STATUS', $MODULE_NAME)}
{if \App\Security\AdminAccess::isPermitted('Companies')}
{assign var=COMPANIES_LINK value="<a href=\"{\App\Company::EDIT_VIEW_URL}\">{\App\Language::translate('LBL_YETIFORCE_REGISTRATION_CHECK_STATUS', $MODULE_NAME)}</a>"}
{/if}
<div class="o-register-error bg-danger text-white u-font-weight-700 w-100 pb-1 pt-1 justify-content-center d-flex js-popover-tooltip--ellipsis-icon"
data-content="{\App\Language::translateArgs('LBL_YETIFORCE_REGISTRATION_ERROR',$MODULE_NAME,\App\Purifier::encodeHtml($COMPANIES_LINK))}"
data-toggle="popover"
data-js="popover | mouseenter">
<div class="text-truncate px-1">
<span class="fas fa-exclamation-triangle mr-2" title="{\App\Language::translate('LBL_YETIFORCE_REGISTRATION', $MODULE_NAME)}"></span>
{\App\Language::translateArgs('LBL_YETIFORCE_REGISTRATION_ERROR',$MODULE_NAME,$COMPANIES_LINK)}
</div>
<span class="js-popover-icon d-none mr-1" data-js="class: d-none">
<span class="fas fa-info-circle fa-sm"></span>
</span>
</div>
{/if}
<div class="mainContainer">
<div class="contentsDiv">
{/strip}