<div class="status">
	<a class="link" href="{$post_info.postId|sefurl:blogpost}">{tr}Permalink{/tr}</a>
	{if $blog_post_context eq 'view_blog'}
		{if $allow_comments eq 'y' and $prefs.feature_blogposts_comments eq 'y' && $tiki_p_read_comments eq 'y'}
			 | 
 			<a class="link linkcomments" href="{$post_info.postId|sefurl:blogpost}#comments">
				{if $post_info.comments == 0 && $tiki_p_post_comments eq 'y'}
					{tr}Leave a comment{/tr}
				{else}
					{if $post_info.comments == 1}
						{tr _0=$post_info.comments}%0 comment{/tr}
					{else}
						{tr _0=$post_info.comments}%0 comments{/tr}
					{/if}
				{/if}
			</a>
		{/if}
	{/if}
</div>
