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
@ -26,16 +26,16 @@
|
||||
</span>
|
||||
</li>
|
||||
|
||||
{if !(in_array('commslock', $categories) && !$comments)}
|
||||
<li class="link-comments">
|
||||
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number}
|
||||
{if isset($views)}(<strong>{$views}</strong> {$lang.postviews.views}){/if}
|
||||
</a>
|
||||
</li>
|
||||
{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>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user