{** * plugins/importexport/native/templates/results.tpl * * Copyright (c) 2014-2018 Simon Fraser University * Copyright (c) 2003-2018 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Result of operations this plugin performed *} {if $submissionsWarnings || $issuesWarnings || $sectionWarnings}

{translate key="plugins.importexport.common.warningsEncountered"}

{foreach from=$issuesWarnings item=issuesWarningMessages name=issuesWarnings} {if $issuesWarningMessages|@count > 0}

{$smarty.foreach.issuesWarnings.iteration}. {translate key="issue.issue"}

{/if} {/foreach} {foreach from=$sectionsWarnings item=sectionsWarningMessages name=sectionsWarnings} {if $sectionsWarningMessages|@count > 0}

{$smarty.foreach.sectionsWarnings.iteration}. {translate key="section.section"}

{/if} {/foreach} {foreach from=$submissionsWarnings item=submissionsWarningMessages name=submissionsWarnings} {if $submissionsWarningMessages|@count > 0}

{$smarty.foreach.submissionsWarnings.iteration}. {translate key="submission.submission"}

{/if} {/foreach} {/if} {if $validationErrors}

{translate key="plugins.importexport.common.validationErrors"}

{elseif $submissionsErrors || $issuesErrors || $sectionErrors}

{translate key="plugins.importexport.common.errorsOccured"}

{foreach from=$issuesErrors item=issuesErrorMessages name=issuesErrors} {if $issuesErrorMessages|@count > 0}

{$smarty.foreach.issuesErrors.iteration}. {translate key="issue.issue"}

{/if} {/foreach} {foreach from=$sectionsErrors item=sectionsErrorMessages name=sectionsErrors} {if $sectionsErrorMessages|@count > 0}

{$smarty.foreach.sectionsErrors.iteration}. {translate key="section.section"}

{/if} {/foreach} {foreach from=$submissionsErrors item=submissionsErrorMessages name=submissionsErrors} {if $submissionsErrorMessages|@count > 0}

{$smarty.foreach.submissionsErrors.iteration}. {translate key="submission.submission"}

{/if} {/foreach} {else} {translate key="plugins.importexport.native.importComplete"} {/if}