From 8e4163e3f08e29f38fe87c59d8cfb91e0fa98063 Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 29 Aug 2022 19:01:20 +0300 Subject: everything works --- src/components/Thread.svelte | 105 ------------------------------------------- 1 file changed, 105 deletions(-) delete mode 100644 src/components/Thread.svelte (limited to 'src/components/Thread.svelte') diff --git a/src/components/Thread.svelte b/src/components/Thread.svelte deleted file mode 100644 index 0321b8d..0000000 --- a/src/components/Thread.svelte +++ /dev/null @@ -1,105 +0,0 @@ - - -{#if thread.id != "rules"} -
- - {thread.id} - at {formatTime(thread.creationDate)}
- - -> - {thread.threadCreator} -
-
- - {#if comments} - {#if listReplies(thread.id) } - - {#each listReplies(thread.id, true) as id} - >>{id}  - {/each} -
- {/if} - {/if} - -
- -

{thread.threadName}

- - {#if thread.imageId!= null && thread.imageId != undefined} - {#if thread.fileType == 'image'} - - {thread.imageId}
-
- {:else if thread.fileType == 'video'} - - {/if} - {/if} - -

{@html thread.threadText}

- -{#if comments} - {#each thread.comments as comment} -
- - {comment.id} - at {formatTime(comment.creationDate)}
- - -> - {comment.commentCreator} -
-
- - {#if listReplies(comment.id)} - - {#each listReplies(comment.id, true) as id} - >>{id}  - {/each} -
- {/if} - -
- - {#if comment.imageId!= null && comment.imageId != undefined} - {#if comment.fileType == 'image'} - - {comment.imageId}
-
- {:else if comment.fileType == 'video'} - - {/if} - {/if} - -

{@html comment.commentText}

- -
- {/each} -{/if} - -
-{/if} -- cgit v1.2.3