mirror of
https://github.com/vale981/Vulcan
synced 2025-03-07 02:21:43 -05:00
40 lines
1.4 KiB
HTML
40 lines
1.4 KiB
HTML
<template name="comment_item">
|
|
<li class="comment comment-displayed" id="{{_id}}">
|
|
<!-- <div class="comment-notification"><a href="#" class="open-comment-link">{{author}}</a></div>
|
|
--> <div class="comment-body">
|
|
<div class="comment-content">
|
|
<div class="comment-actions">
|
|
<a class="upvote" href="/">
|
|
<i class="icon-up"></i>
|
|
<span>upvote</span>
|
|
</a>
|
|
<a class="downvote" href="/">
|
|
<i class="icon-down"></i>
|
|
<span>downvote</span>
|
|
</a>
|
|
</div>
|
|
<div class="comment-meta">
|
|
<a class="comment-username" href="#">{{author}}</a>
|
|
<span class="comment-time">{{ago}}</span>
|
|
<a href="/comments/{{_id}}" class="comment-permalink icon-link goto-comment">link</a>
|
|
{{#if is_my_comment}}
|
|
| <a class="edit-link" href="/comments/{{_id}}/edit">Edit</a>
|
|
{{/if}}
|
|
| <a class="queue-comment" href="#">queue</a>
|
|
| <span>{{full_date}}</span>
|
|
</div>
|
|
<div class="comment-text markdown">{{{body_formatted}}}</div>
|
|
<a href="/comments/{{_id}}" class="comment-reply goto-comment">Reply</a>
|
|
</div>
|
|
{{#unless repress_recursion}}
|
|
<ul class="comment-children comment-list">
|
|
{{#each child_comments}}
|
|
{{#with this}}
|
|
{{> comment_item}}
|
|
{{/with}}
|
|
{{/each}}
|
|
</ul>
|
|
{{/unless}}
|
|
</div>
|
|
</li>
|
|
</template>
|