mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
28 lines
No EOL
734 B
HTML
28 lines
No EOL
734 B
HTML
<template name="userComments">
|
|
<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>
|
|
<td colspan="10">
|
|
<a class="comments-more more-button grid-module" href="#"><span>{{_ "load_more"}}</span></a>
|
|
</td>
|
|
</tr>
|
|
{{/if}}
|
|
</table>
|
|
</div>
|
|
</template> |