Fixes #346
- In the Leggero theme, the number of views is now also displayed when comments are locked
This commit is contained in:
parent
3d7375294e
commit
2c383f8592
@ -2,40 +2,40 @@
|
|||||||
{* using the following way to print the date, if more *}
|
{* using the following way to print the date, if more *}
|
||||||
{* than one entry have been written the same day, *}
|
{* than one entry have been written the same day, *}
|
||||||
{* the date will be printed only once *}
|
{* the date will be printed only once *}
|
||||||
|
|
||||||
{$date|date_format_daily:"<h2 class=\"date\">`$fp_config.locale.dateformat`</h2>"}
|
{$date|date_format_daily:"<h2 class=\"date\">`$fp_config.locale.dateformat`</h2>"}
|
||||||
|
|
||||||
<h2 itemprop="name" class="entry-title">
|
<h2 itemprop="name" class="entry-title">
|
||||||
<a href="{$id|link:post_link}">
|
<a href="{$id|link:post_link}">
|
||||||
{$subject|tag:the_title}
|
{$subject|tag:the_title}
|
||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
{include file="shared:entryadminctrls.tpl"}
|
{include file="shared:entryadminctrls.tpl"}
|
||||||
|
|
||||||
<div itemprop="articleBody">
|
<div itemprop="articleBody">
|
||||||
{$content|tag:the_content}
|
{$content|tag:the_content}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="entry-footer">
|
|
||||||
|
|
||||||
<li class="entry-info">{$lang.entryauthor.posted_by} <span itemprop="author">{$author}</span> {$lang.entryauthor.at}
|
|
||||||
{$date|date_format}
|
|
||||||
|
|
||||||
<span itemprop="articleSection">
|
<ul class="entry-footer">
|
||||||
{if ($categories)} {$lang.plugin.categories.in} {$categories|@filed}{/if}
|
|
||||||
</span>
|
<li class="entry-info">{$lang.entryauthor.posted_by} <span itemprop="author">{$author}</span> {$lang.entryauthor.at}
|
||||||
</li>
|
{$date|date_format}
|
||||||
|
|
||||||
{if !(in_array('commslock', $categories) && !$comments)}
|
<span itemprop="articleSection">
|
||||||
<li class="link-comments">
|
{if ($categories)} {$lang.plugin.categories.in} {$categories|@filed}{/if}
|
||||||
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number}
|
</span>
|
||||||
{if isset($views)}(<strong>{$views}</strong> {$lang.postviews.views}){/if}
|
</li>
|
||||||
</a>
|
|
||||||
</li>
|
<li class="link-comments">
|
||||||
{/if}
|
{if isset($views)}
|
||||||
|
<strong>{$views}</strong> {$lang.postviews.views}
|
||||||
|
{/if}
|
||||||
|
{if !(in_array('commslock', $categories) && !$comments)}
|
||||||
|
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number}
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user