{rootComment.content}
{#if replyCount > 0}
•
{replyCount} {replyCount === 1 ? 'reply' : 'replies'}
{/if}
•
-
-
{#if canDelete(rootComment)}
-
{/if}
{formatTimestamp(rootComment.created_at || 0)}
{#if replyCount > 0}
{replyCount} {replyCount === 1 ? 'reply' : 'replies'}
{/if}
-
-
{#if canDelete(rootComment)}
-
{/if}
{@render basicMarkup(rootComment.content)}
{#if replyingTo === rootComment.id}
{#if replyError}
{replyError}
{/if}
{#if replySuccess === rootComment.id}
Reply posted successfully!
{/if}
{/if}
{#if replyCount > 0}
{#each renderReplies(rootComment.id, threadStructure.repliesByParent) as reply (reply.id)}
{formatTimestamp(reply.created_at || 0)}
-
-
{#if canDelete(reply)}
-
{/if}
{@render basicMarkup(reply.content)}
{#if replyingTo === reply.id}
{#if replyError}
{replyError}
{/if}
{#if replySuccess === reply.id}
Reply posted successfully!
{/if}
{/if}
{#each renderReplies(reply.id, threadStructure.repliesByParent) as nestedReply (nestedReply.id)}
{formatTimestamp(nestedReply.created_at || 0)}
-
-
{#if canDelete(nestedReply)}
-
{/if}
{@render basicMarkup(nestedReply.content)}
{#if replyingTo === nestedReply.id}
{#if replyError}
{replyError}
{/if}
{#if replySuccess === nestedReply.id}
Reply posted successfully!
{/if}
{/if}
{/each}
{/each}
{/if}