2015-05-07 18:54:46 +09:00
|
|
|
<template name="user_comments">
|
2014-12-08 14:53:26 +09:00
|
|
|
<div class="user-profile-comments grid grid-module">
|
|
|
|
<h3>{{_ "comments_"}}</h3>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>Post</td>
|
|
|
|
<td>Comment</td>
|
|
|
|
<td>Commented At</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{{#each comments}}
|
|
|
|
<tr>
|
|
|
|
<td><a href="{{pathFor route='post_page' _id=postId}}/">{{postTitle}}</a></td>
|
|
|
|
<td>{{{htmlBody}}}</td>
|
|
|
|
<td>{{formatDate createdAt "MM/DD/YYYY, HH:mm"}}</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
{{#if hasMoreComments}}
|
|
|
|
<tr>
|
2014-12-08 15:26:06 +09:00
|
|
|
<td colspan="10">
|
2014-12-08 14:53:26 +09:00
|
|
|
<a class="comments-more more-button grid-module" href="#"><span>{{_ "load_more"}}</span></a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</template>
|