feat: add 'removed by moderator' + link to modlog
This commit is contained in:
3 files changed
+24
-1
No files matched your search
@@ -185,7 +185,7 @@
|
||||
<Icon src={Pencil} micro size="14" />
|
||||
</div>
|
||||
{/if}
|
||||
{#if node.comment_view.comment.deleted || node.comment_view.comment.removed}
|
||||
{#if node.comment_view.comment.deleted}
|
||||
<Icon
|
||||
src={Trash}
|
||||
solid
|
||||
@@ -194,6 +194,15 @@
|
||||
class="text-red-600 dark:text-red-500"
|
||||
/>
|
||||
{/if}
|
||||
{#if node.comment_view.comment.removed}
|
||||
<Icon
|
||||
src={Trash}
|
||||
solid
|
||||
size="12"
|
||||
aria-label={$t('post.badges.removed')}
|
||||
class="text-green-600 dark:text-green-500"
|
||||
/>
|
||||
{/if}
|
||||
{#if node.comment_view.saved}
|
||||
<Icon
|
||||
src={Bookmark}
|
||||
|
||||
Reference in new issue
Block a user