{#if ($profile?.user && amMod($profile.user, item.community)) || ($profile?.user && isAdmin($profile.user))}
Moderation {#if (!item.community.local && !amMod($profile.user, item.community)) } (Instance Only) {/if}
remove(item)}>
{#if isCommentView(item)}
{item.comment.removed ? 'Restore' : 'Remove'}
{:else}
{item.post.removed ? 'Restore' : 'Remove'}
{/if}
{#if $profile?.user && $profile.user?.local_user_view.person.id != item.creator.id}
User {#if (!item.community.local && !amMod($profile.user, item.community)) } (Instance Only) {/if}
ban(item.creator_banned_from_community, item.creator, item.community)}
>
{item.creator_banned_from_community
? 'Unban from community'
: 'Ban from community'}
{/if}
{/if}
{#if $profile?.user && isAdmin($profile.user)}
Admin
remove(item, true)}>
Purge
{/if}