diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte index ad1e48b4..7a3e3074 100644 --- a/src/lib/components/lemmy/comment/Comment.svelte +++ b/src/lib/components/lemmy/comment/Comment.svelte @@ -19,6 +19,7 @@ import { profile } from '$lib/auth.js' import { Button, Modal } from 'mono-svelte' import { publishedToDate } from '$lib/components/util/date.js' + import ShieldIcon from '../moderation/ShieldIcon.svelte' export let node: CommentNodeI export let postId: number @@ -104,7 +105,16 @@ avatarSize={22} avatar user={node.comment_view.creator} - /> + > + + {#if node.comment_view.creator_is_moderator} + + {/if} + {#if node.comment_view.creator_is_admin} + + {/if} + + {#if op} OP {/if} diff --git a/src/lib/components/lemmy/comment/CommentItem.svelte b/src/lib/components/lemmy/comment/CommentItem.svelte index 1bc100e0..4ccb64bc 100644 --- a/src/lib/components/lemmy/comment/CommentItem.svelte +++ b/src/lib/components/lemmy/comment/CommentItem.svelte @@ -21,11 +21,18 @@ >