Skip to content

Commit

Permalink
#168 fix iteration through journals on site index page
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Nov 15, 2019
1 parent 1b0ad8b commit 3809fb1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions templates/frontend/pages/indexSite.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</div>
<div class="site-journals">
<h2 class="sr-only">{translate key="journal.journals"}</h2>
{if !count($journals)}
{if $journals->wasEmpty()}
<p>{translate key="site.noJournals"}</p>
{else}
<div class="site-journals-list">
Expand Down Expand Up @@ -55,13 +55,6 @@
</div>
{/iterate}
</div>

{if $journals->getPageCount() > 0}
<div class="cmp_pagination">
{page_info iterator=$journals}
{page_links anchor="journals" name="journals" iterator=$journals}
</div>
{/if}
{/if}
</div>
</div>
Expand Down

0 comments on commit 3809fb1

Please sign in to comment.