<xf:page option="template">ACTIVITY_SUMMARY_CONTAINER</xf:page>

<mail:subject>{$xf.options.boardTitle} - {{ phrase('see_what_you_have_missed') }}</mail:subject>

<xf:if is="$displayValues">
	<xf:macro id="activity_summary_macros::outer_header"
		arg-title="{{ phrase('summary_of_what_you_missed_recently') }}" />

	<xf:set var="$content">
		<table border="0" width="100%" cellpadding="0" cellspacing="0" class="statsContainer">
			<tr>
				<td class="statsGroup" align="center">
					<xf:foreach loop="$displayValues" value="$value" if="$value.value != 0">
						<div class="stat">
							<table border="0" width="100%" cellpadding="0" cellspacing="0">
								<tr>
									<td class="stat-label" align="center">{$value.label}</td>
								</tr>
								<tr>
									<td class="stat-value" align="center">{$value.value|number_short}</td>
								</tr>
							</table>
						</div>
					</xf:foreach>
				</td>
			</tr>
		</table>
	</xf:set>

	<xf:macro id="activity_summary_macros::block"
		arg-content="{$content}" />
</xf:if>

<xf:foreach loop="$renderedSections" value="$section">
	{$section|raw}
</xf:foreach>

<table border="0" width="100%" cellpadding="0" cellspacing="0" class="container container--outer">
	<tr>
		<td align="center" valign="top">
			<p class="minorText">{{ phrase('activity_summary_email_unsubscribe', {'disable_this_link': link('canonical:email-stop/activity-summary', $xf.toUser), 'disable_all_link': link('canonical:email-stop/all', $xf.toUser)}) }}</p>
		</td>
	</tr>
</table>