{#if node.author} {#if node.author.isBanned}
BANNED
{/if}
{authorDisplay}
{/if} {#if node.updatedAt}
edited
{/if}
{dateToRelativeString(new Date(node.createdAt * 1000), true, false, now, 2)}
{#if expanded || !isLongComment} {@html parsedHtml} {:else}
{@html parsedHtml}
{/if}
{#if isLongComment}
{ expanded = !expanded; }} > {expanded ? 'Show less' : 'Show more'}
{/if}
onReact(node.id, 1, node.userReaction)} disabled={reactingIds[node.id] || !$user} >
{node.likes}
onReact(node.id, 2, node.userReaction)} disabled={reactingIds[node.id] || !$user} >
{node.dislikes}
{#if $user} {#if !replyOpen}
{ openReply(node.content ? `> ${node.content.replace(/\n/g, '\n> ')}\n\n` : ''); }} > Quote
{/if}
{ if (replyOpen) { replyOpen = false; replyError = ''; replyText = ''; return; } openReply(''); }} > {replyOpen ? 'Cancel' : 'Reply'}
{#if node.author?.uuid === $user.uuid || hasRole($user.roles, 4) || hasRole($user.roles, 2)}
handleDelete(false)} disabled={deleting} >
{#if hasRole($user.roles, 4) || hasRole($user.roles, 2)}
handleDelete(true)} disabled={deleting} >
{/if}
{/if} {/if}
{#if replyOpen}
{#if replyError}
{replyError}
{/if} {/if} {#if node.children.length > 0}
{#if depth >= 3 && !showDeepReplies}
{ showDeepReplies = true; }} > Show {node.children.length} more repl{node.children.length === 1 ? 'y' : 'ies'}
{:else}
{#each node.children as child (child.id)}
{/each}
{/if}
{/if}