{#snippet nameDetail()} {/snippet}
{#if profile.current?.jwt} {@const subscribed = community.viewer?.subscribed === true} {/if} {#if profile.isMod(community)} {/if} {#snippet target(attachment)} {/snippet} {$t('cards.community.modlog')} {#if profile.isMod(community)} {$t('routes.moderation.feed')} {/if} {#if profile.current?.jwt} {#if profile.isAdmin} modal({ title: $t('admin.purgeCommunity.title'), body: `${communityDisplayName(community)}: ${$t('admin.purgeCommunity.warning')}`, actions: [ action({ close: true, content: $t('common.cancel'), }), action({ action: () => purgeCommunity(community.did), close: true, content: $t('admin.purge'), type: 'danger', icon: Fire, }), ], dismissable: true, type: 'error', })} icon={Fire} > {$t('admin.purge')} {/if} {/if}