<xf:title>{{ phrase('importing...') }}</xf:title>
<xf:page option="template">PAGE_RUN_JOB</xf:page>

<xf:form action="{{ link('import/run') }}" method="post" class="blockMessage" data-xf-init="auto-submit">

	<xf:if is="$stepTitle">
		<xf:if is="$stepComplete">
			{{ phrase('step_x_of_y:', {'current': $importCompletion.current, 'total': $importCompletion.total}) }} {$stepTitle} - 100%
		<xf:else />
			{{ phrase('step_x_of_y:', {'current': $importCompletion.current, 'total': $importCompletion.total}) }} {$stepTitle} - {$stepCompletion}
		</xf:if>
	<xf:elseif is="$importCompletion.current" />
		{{ phrase('step_x_of_y:', {'current': $importCompletion.current, 'total': $importCompletion.total}) }} {{ phrase('processing...') }}
	<xf:else />
		{{ phrase('processing...') }}
	</xf:if>

	<div class="u-noJsOnly">
		<xf:button type="submit">{{ phrase('proceed...') }}</xf:button>
	</div>
</xf:form>