mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 04:16:37 -04:00
38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
<template name="comment_item">
|
|
<li class="comment{{#if isQueued}} queued{{/if}}" 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}}
|
|
</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">
|
|
{{#each child_comments}}
|
|
{{#with this}}
|
|
{{> comment_item}}
|
|
{{/with}}
|
|
{{/each}}
|
|
</ul>
|
|
{{/unless}}
|
|
</div>
|
|
</li>
|
|
</template>
|