layouts/basic/modules/Vtiger/Modals/Footer.tpl
{*<!-- {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} -->*}
{strip}
<!-- tpl-Base-Modals-Footer -->
<div class="modal-footer {if isset($FOOTER_CLASS)}{$FOOTER_CLASS}{/if}">
{if !empty($BTN_LINKS)}
<div class="actions">
<div class="float-right">
{foreach from=$BTN_LINKS item=LINK}
{include file=\App\Layout::getTemplatePath('ButtonLink.tpl', $QUALIFIED_MODULE) BUTTON_VIEW='listViewBasic' MODULE_NAME=$QUALIFIED_MODULE MODULE=$QUALIFIED_MODULE}
{/foreach}
</div>
</div>
{/if}
{if !empty($BTN_SUCCESS)}
<button class="js-modal__save btn btn-success" type="submit" name="saveButton" data-js="click">
<span class="{if isset($BTN_SUCCESS_ICON)}{$BTN_SUCCESS_ICON}{else}fas fa-check{/if} mr-1"></span>
{if !empty($QUALIFIED_MODULE)}
{\App\Language::translate($BTN_SUCCESS, $QUALIFIED_MODULE)}
{else}
{\App\Language::translate($BTN_SUCCESS)}
{/if}
</button>
{/if}
{if !empty($BTN_DANGER) && empty($LOCK_EXIT)}
<button class="btn btn-danger" type="reset" data-dismiss="modal">
<span class="fas fa-times mr-1"></span>
{if !empty($QUALIFIED_MODULE)}
{\App\Language::translate($BTN_DANGER, $QUALIFIED_MODULE)}
{else}
{\App\Language::translate($BTN_DANGER)}
{/if}
</button>
{/if}
</div>
<!-- /tpl-Base-Modals-Footer -->
{/strip}