2014-12-08 14:53:26 +09:00
|
|
|
<template name="userDownvotedPosts">
|
|
|
|
<div class="user-profile-votes grid grid-module">
|
|
|
|
<h3>{{_ "downvoted_posts"}}</h3>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>Post</td>
|
|
|
|
<td>Downvoted At</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2014-12-08 18:03:30 +09:00
|
|
|
{{#each posts}}
|
2014-12-08 14:53:26 +09:00
|
|
|
<tr>
|
|
|
|
<td><a href="{{pathFor route='post_page' _id=_id}}">{{title}}</a></td>
|
|
|
|
<td>{{formatDate votedAt "MM/DD/YYYY, HH:mm"}}</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
2014-12-08 18:03:30 +09:00
|
|
|
{{#if hasMorePosts}}
|
2014-12-08 14:53:26 +09:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<a class="downvoted-more more-button grid-module" href="#"><span>{{_ "load_more"}}</span></a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</template>
|