vtenext/Smarty/templates/modules/Import/Import_Finish_Buttons.tpl
2021-04-28 20:10:26 +02:00

24 lines
1.2 KiB
Smarty

{*
/*************************************
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
* SPDX-License-Identifier: AGPL-3.0-only
************************************/
*}
<button type="button" name="next" class="crmbutton create" onclick="location.href='index.php?module={$FOR_MODULE}&action=Import&return_module={$FOR_MODULE}&return_action=index'">
{'LBL_IMPORT_MORE'|@getTranslatedString:$MODULE}
</button>
<button type="button" name="next" class="crmbutton cancel" onclick="return window.open('index.php?module={$FOR_MODULE}&action={$FOR_MODULE}Ajax&file=Import&mode=listview&start=1&foruser={$OWNER_ID}','test','width=700,height=650,resizable=1,scrollbars=0,top=150,left=200');">
{'LBL_VIEW_LAST_IMPORTED_RECORDS'|@getTranslatedString:$MODULE}
</button>
{if $MERGE_ENABLED eq '0'}
<button type="button" name="next" class="crmbutton delete" onclick="location.href='index.php?module={$FOR_MODULE}&action=Import&mode=undo_import&foruser={$OWNER_ID}'">
{'LBL_UNDO_LAST_IMPORT'|@getTranslatedString:$MODULE}
</button>
{/if}
<button type="button" name="cancel" class="crmbutton edit" onclick="location.href='index.php?module={$FOR_MODULE}&action=index'">
{'LBL_FINISH_BUTTON_LABEL'|@getTranslatedString:$MODULE}
</button>