2013-04-14 12:42:32 +10:00
|
|
|
<template name="posts_digest">
|
|
|
|
<div class="grid">
|
|
|
|
<div class="grid-block">
|
2014-11-25 17:16:00 +09:00
|
|
|
{{_ "the_top_5_posts_of_each_day"}} |
|
2013-04-14 12:42:32 +10:00
|
|
|
{{#if showPreviousDate}}
|
2014-11-25 17:16:00 +09:00
|
|
|
<a href="{{previousDateURL}}" class="prev-link">{{_ "previous_day"}}</a> |
|
2013-04-14 12:42:32 +10:00
|
|
|
{{/if}}
|
|
|
|
{{currentDate}} |
|
|
|
|
{{#if showNextDate}}
|
2014-11-25 17:16:00 +09:00
|
|
|
<a href="{{nextDateURL}}" class="next-link">{{_ "next_day"}}</a>
|
2013-04-14 12:42:32 +10:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-12-03 00:06:00 -08:00
|
|
|
|
2014-09-16 15:29:11 +10:00
|
|
|
{{> UI.dynamic template=postsListIncoming data=incoming}}
|
2014-09-15 12:42:17 +10:00
|
|
|
|
2013-10-27 09:38:21 +09:00
|
|
|
{{#if hasPosts}}
|
|
|
|
<div class="posts grid list">
|
2013-07-19 14:37:36 +09:00
|
|
|
{{#each posts}}
|
2014-07-05 11:42:28 +09:00
|
|
|
{{> UI.dynamic template=post_item}}
|
2013-07-19 14:37:36 +09:00
|
|
|
{{/each}}
|
2013-10-27 09:38:21 +09:00
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="grid-small grid-block dialog">
|
2014-11-25 17:16:00 +09:00
|
|
|
<p>{{_ "sorry_no_posts_for"}} {{currentDate}}.</p>
|
2013-10-27 09:38:21 +09:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2013-04-14 12:42:32 +10:00
|
|
|
</template>
|