<mail:subject>
	{{ phrase('file_healthcheck_warnings_on_x', {'board_title': $xf.options.boardTitle}) }}
</mail:subject>

<p>{{ phrase('automatic_file_health_check_was_started_on_x_at_y_problems', {'board_title': $xf.options.boardTitle, 'check_date': date_time($fileCheck.check_date)}) }}</p>

<xf:if is="$fileCheck.total_missing && $fileCheck.total_inconsistent">
	<p>{{ phrase('after_checking_x_files_we_found_y_missing_z_inconsistent', {'checked': $fileCheck.total_checked|number, 'missing': $fileCheck.total_missing|number, 'inconsistent': $fileCheck.total_inconsistent|number}) }}</p>
<xf:elseif is="$fileCheck.total_missing" />
	<p>{{ phrase('after_checking_x_files_we_found_y_missing', {'checked': $fileCheck.total_checked|number, 'missing': $fileCheck.total_missing|number}) }}</p>
<xf:elseif is="$fileCheck.total_inconsistent" />
	<p>{{ phrase('after_checking_x_files_we_found_y_inconsistent', {'checked': $fileCheck.total_checked|number, 'inconsistent': $fileCheck.total_inconsistent|number}) }}</p>
</xf:if>

<table cellpadding="10" cellspacing="0" border="0" width="100%" class="linkBar">
	<tr>
		<td>
			<a href="{{ link_type('admin', 'canonical:tools/file-check/results', $fileCheck) }}" class="button">{{ phrase('please_review_files') }}</a>
		</td>
	</tr>
</table>