blog_post_postbody_title.tpl 1.15 KB
Newer Older
1
{* $Id$ *}
2 3
<header class="clearfix panel-heading">
	<div class="blog-postbody-title">
4
		{if $blog_post_context eq 'view_blog'}
5
			<h2 class="panel-title">
6 7
				{object_link type="blog post" id=$post_info.postId title=$post_info.title}{if $post_info.priv eq 'y'} <span class="label label-warning">{tr}private{/tr}</span>{/if}
			</h2>
8
			{include file='blog_post_actions.tpl'}
9 10
		{elseif $blog_post_context eq 'excerpt'}
			<bold>{object_link type="blog post" id=$post_info.postId title=$post_info.title}</bold>
11
		{else}
12
			<h2 class="panel-title">
13 14
				{object_link type="blog post" id=$post_info.postId title=$post_info.title}{if $post_info.priv eq 'y'} <span class="label label-warning">{tr}private{/tr}</span>{/if}
			</h2>
15 16
			<a aria-hidden="true" class="tiki_anchor" href="{$post_info.postId|sefurl:blogpost}" title="{tr}permanent link{/tr}">{icon name="link"}</a>
			{include file='blog_post_actions.tpl'}
17
		{/if}
18
		{include file='blog_post_author_info.tpl'}
19
	</div>
20
	{if $blog_post_context eq 'preview'}
21 22 23 24
		{include file='freetag_list.tpl' freetags=$post_info.freetags links_inactive='y'}
	{else}
		{include file='freetag_list.tpl' freetags=$post_info.freetags}
	{/if}
25
</header>