2022-12-21 00:35:48 +00:00
|
|
|
<div class="comment flex flex-col">
|
2022-01-18 23:05:06 +00:00
|
|
|
<div class="comment__user">
|
2022-10-13 21:29:05 +00:00
|
|
|
{{#noteq this.User.Username "[deleted]"}}
|
2022-01-18 23:05:06 +00:00
|
|
|
<img src="{{this.User.Avatar}}" class="pfp" width="24" height="24" loading="lazy">
|
2022-01-28 01:41:10 +00:00
|
|
|
<a href="/user/{{this.User.Username}}">
|
2022-01-18 23:21:25 +00:00
|
|
|
<p class="comment__user__username"><b>{{this.User.Username}}</b></p>
|
2022-01-28 01:41:10 +00:00
|
|
|
</a>
|
2022-10-13 21:29:05 +00:00
|
|
|
{{/noteq}}
|
|
|
|
{{#equal this.User.Username "[deleted]"}}
|
2022-12-21 00:35:48 +00:00
|
|
|
<p class="comment__user__username"><b>[deleted]</b></p>
|
2022-10-13 21:29:05 +00:00
|
|
|
{{/equal}}
|
2022-01-18 23:05:06 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2022-12-21 00:35:48 +00:00
|
|
|
<p>{{{this.Comment}}}</p>
|
|
|
|
<div>
|
2022-01-28 01:41:10 +00:00
|
|
|
<span title="{{this.CreatedAt}}">{{this.RelTime}}</span>
|
2022-01-18 23:05:06 +00:00
|
|
|
{{#if this.DeletedAt}}
|
|
|
|
<span class="comment__updatedDate">(deleted {{this.DeletedAt}})</span>
|
|
|
|
{{/if}}
|
2022-12-21 00:35:48 +00:00
|
|
|
|
|
2022-10-13 22:26:08 +00:00
|
|
|
<img class="icon" src="/static/icons/chevron-up.svg" alt="Likes"> {{this.Upvotes}}
|
|
|
|
<img class="icon" src="/static/icons/chevron-down.svg" alt="Dislikes"> {{this.Downvotes}}
|
2022-12-21 00:35:48 +00:00
|
|
|
</div>
|
2022-01-18 23:05:06 +00:00
|
|
|
</div>
|
|
|
|
<div class="replies">
|
|
|
|
{{#each this.Comments}}
|
|
|
|
{{> partials/comment }}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</div>
|