mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
28 lines
751 B
HTML
28 lines
751 B
HTML
<template name="posts_digest">
|
|
<div class="grid">
|
|
<div class="grid-block">
|
|
{{_ "the_top_5_posts_of_each_day"}} |
|
|
{{#if showPreviousDate}}
|
|
<a href="{{previousDateURL}}" class="prev-link">{{_ "previous_day"}}</a> |
|
|
{{/if}}
|
|
{{currentDate}} |
|
|
{{#if showNextDate}}
|
|
<a href="{{nextDateURL}}" class="next-link">{{_ "next_day"}}</a>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
{{> UI.dynamic template=postsListIncoming data=incoming}}
|
|
|
|
{{#if hasPosts}}
|
|
<div class="posts grid list">
|
|
{{#each posts}}
|
|
{{> UI.dynamic template=post_item}}
|
|
{{/each}}
|
|
</div>
|
|
{{else}}
|
|
<div class="grid-small grid-block dialog">
|
|
<p>{{_ "sorry_no_posts_for"}} {{currentDate}}.</p>
|
|
</div>
|
|
{{/if}}
|
|
</template>
|