Files
CRM/layouts/v7/modules/Import/ImportResult.tpl
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

42 lines
2.3 KiB
Smarty

{*+**********************************************************************************
* 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/Import/views/Main.php *}
{* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
<div class='fc-overlay-modal modal-content'>
<div class="overlayHeader">
{assign var=TITLE value="{'LBL_IMPORT_SUMMARY'|@vtranslate:$MODULE}"}
{include file="ModalHeader.tpl"|vtemplate_path:$MODULE TITLE=$TITLE}
</div>
<div class='modal-body' style="margin-bottom:100%">
<div class="summaryWidgetContainer">
<input type="hidden" name="module" value="{$FOR_MODULE}" />
<h4>{'LBL_TOTAL_RECORDS_SCANNED'|@vtranslate:$MODULE}&nbsp;&nbsp;:&nbsp;&nbsp;{$IMPORT_RESULT.TOTAL}</h4>
{if $ERROR_MESSAGE neq ''}<span>{$ERROR_MESSAGE}</span>{/if}
<hr>
<div>{include file="Import_Result_Details.tpl"|@vtemplate_path:'Import'}</div>
</div>
</div>
<div class='modal-overlay-footer border1px clearfix'>
<div class="row clearfix">
<div class='textAlignCenter col-lg-12 col-md-12 col-sm-12 '>
<button name="next" class="btn btn-primary btn-lg"
onclick="return Vtiger_Import_Js.triggerImportAction();">{'LBL_IMPORT_MORE'|@vtranslate:$MODULE}</button>
&nbsp;&nbsp;&nbsp;
{if $MERGE_ENABLED eq '0'}
<button name="next" class="btn btn-danger btn-lg"
onclick="Vtiger_Import_Js.undoImport('index.php?module={$FOR_MODULE}&view=Import&mode=undoImport&foruser={$OWNER_ID}')">{'LBL_UNDO_LAST_IMPORT'|@vtranslate:$MODULE}</button>
&nbsp;&nbsp;&nbsp;
{/if}
<button class='btn btn-success btn-lg' data-dismiss="modal" onclick="Vtiger_Import_Js.loadListRecords();">{vtranslate('LBL_FINISH', $MODULE)}</button>
</div>
</div>
</div>
</div>