24 lines
706 B
Smarty
24 lines
706 B
Smarty
<div class="articles-page-header">
|
|
<h1>{$view->getTitle()}</h1>
|
|
{insert_article_sections template="articles/articles-sections.tpl"}
|
|
</div>
|
|
{if $body.articles|count}
|
|
<div class="row">
|
|
{foreach $body.articles as $article}
|
|
{include "articles/block.articles.tpl" article=$article is_large_article=($article@iteration == 1 and $body.pager.number == 1)}
|
|
|
|
{if $article@iteration == 1}
|
|
{include "articles/articles-side.tpl"}
|
|
{/if}
|
|
{/foreach}
|
|
</div>
|
|
{else}
|
|
<div class="alert alert-info">
|
|
{t}V sekci se nenacházejí žádné články.{/t}
|
|
</div>
|
|
{/if}
|
|
|
|
{if $body.pager.count > 1}
|
|
{include "components/pager.tpl" pager=$body.pager}
|
|
{/if}
|