<xf:extends template="approval_item_create" />

<xf:extension name="header">
	<h2>
		{{ phrase('thread_x_posted_in_forum_y', {
			'threadLink': link('canonical:threads', $content),
			'threadTitle': $content.title,
			'forumLink': link('canonical:forums', $content.Forum),
			'forumTitle': $content.Forum.title
		}) }}
	</h2>
</xf:extension>

<xf:extension name="content">
	<div class="message">{{ bb_code_type('emailHtml', $content.FirstPost.message, 'post', $content.FirstPost) }}</div>

	<p>{{ phrase('by_user_x', {'name': username_link_email($content.User, $content.username) }) }}</p>
</xf:extension>