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

<p>{{ phrase('thank_you_for_purchasing_account_upgrade_at_x', {'board_url': link('canonical:index'), 'board_title': $xf.options.boardTitle}) }}</p>

<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
	<td><b>{{ phrase('purchased_item') }}</b></td>
	<td align="right"><b>{{ phrase('price') }}</b></td>
</tr>
<tr>
	<td><a href="{{ link('canonical:account/upgrades') }}">{$purchasable.title}</a></td>
	<td align="right">{$purchasable.purchasable.cost_phrase}</td>
</tr>
</table>

<p><a href="{{ link('canonical:account/upgrades') }}" class="button">{{ phrase('manage_your_account_upgrades') }}</a></p>

<xf:if is="$xf.toUser.canUseContactForm()">
	<p>{{ phrase('thank_you_for_your_purchase_questions_contact_us', {'contacturl': link('canonical:misc/contact') }) }}</p>
<xf:else />
	<p>{{ phrase('thank_you_for_your_purchase') }}</p>
</xf:if>