39 lines
1.4 KiB
HTML
39 lines
1.4 KiB
HTML
<div class="postlist{f:if(condition: type, then: ' postlist--{type}')} timeline">
|
|
<f:if condition="{pagination} && {pagination.paginatedItems}">
|
|
<f:then>
|
|
|
|
<f:if condition="{settings.lists.pagination.insertAbove}">
|
|
<f:render partial="Pagination/Pagination" arguments="{pagination: pagination}" />
|
|
</f:if>
|
|
<f:for each="{pagination.paginatedItems}" iteration="iterator" as="post">
|
|
|
|
<div class="timeline-item">
|
|
<blogvh:cache post="{post}" />
|
|
<f:render partial="List/PostTimeline" arguments="{_all}" />
|
|
</div>
|
|
</f:for>
|
|
<f:if condition="{settings.lists.pagination.insertBelow}">
|
|
<f:render partial="Pagination/Pagination" arguments="{pagination: pagination}" />
|
|
</f:if>
|
|
|
|
</f:then>
|
|
<f:else if="{posts}">
|
|
<f:for each="{posts}" iteration="iterator" as="post">
|
|
<div class="timeline-item">
|
|
<blogvh:cache post="{post}" />
|
|
<f:render partial="List/PostTimeline" arguments="{_all}" />
|
|
</div>
|
|
</f:for>
|
|
</f:else>
|
|
<f:else>
|
|
|
|
<div class="alert alert-info" role="alert">
|
|
<strong><f:translate key="list.no_posts.title" /></strong><br><f:translate key="list.no_posts.message" />
|
|
</div>
|
|
|
|
</f:else>
|
|
</f:if>
|
|
|
|
</div>
|
|
|