initial commit
This commit is contained in:
38
Resources/Private/Partials/Timeline.html
Normal file
38
Resources/Private/Partials/Timeline.html
Normal file
@ -0,0 +1,38 @@
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user