diff --git a/app/html/sub/postcomments.html b/app/html/sub/postcomments.html index 0a992fbc..706346e4 100644 --- a/app/html/sub/postcomments.html +++ b/app/html/sub/postcomments.html @@ -1,86 +1,86 @@ @require(post, comments, subInfo, subMods) @def renderComments(post, subInfo, subMods, comments, highlight=''): @#ignore @for comment in comments: @if comment['cid']:
@if comment['userstatus'] != 10:
@end
@{(comment['status'] == 1) and '[+]' or '[–]'} \ @if comment['status'] != 1: @if comment['userstatus'] == 10: [Deleted] @else: @{(comment['userstatus'] == 100) and 'bot' or ''} @{comment['user']} @{(comment['userstatus'] == 100) and '[OP]' or ''} @end @else: [Deleted] @end @{comment['score']!!s} points (+@{comment['upvotes']!!s}|-@{comment['downvotes']!!s}) @if comment['lastedit'] and comment['status'] != 1: Edited @end
@if comment['status'] == 1: [Deleted] \ @else: @{comment['content']} @end
@if comment['status'] != 1: @end
@if comment['children']: - @renderComments(post, subInfo, comment['children']) + @renderComments(post, subInfo, subMods, comment['children']) @end
@else: Load more (@{comment['more']!!s} comment@{(comment['more']> 1) and 's' or ''}) @end @end @end @renderComments(post, subInfo, subMods, comments) \ No newline at end of file