update: mono-svelte
This commit is contained in:
1 parent
0cdb91b20b
commit
0179859427
8 files changed
+40
-52
No files matched your search
@@ -100,10 +100,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Modal bind:open class="max-w-xl w-full">
|
||||
<h1 slot="title">
|
||||
{banned ? $t('moderation.ban.unbanning') : $t('moderation.ban.banning')}
|
||||
</h1>
|
||||
<Modal
|
||||
bind:open
|
||||
title={banned ? $t('moderation.ban.unbanning') : $t('moderation.ban.banning')}
|
||||
>
|
||||
{#if item}
|
||||
<form class="flex flex-col gap-4" on:submit|preventDefault={submit}>
|
||||
<div class="flex items-center gap-1">
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
return removalTemplate(preset, {
|
||||
communityLink: `!${fullCommunityName(
|
||||
item!.community.name,
|
||||
item!.community.actor_id
|
||||
item!.community.actor_id,
|
||||
)}`,
|
||||
postTitle: item.post.name,
|
||||
reason: reason,
|
||||
@@ -158,14 +158,14 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Modal bind:open>
|
||||
<span slot="title">
|
||||
{purge
|
||||
? $t('moderation.removeSubmission.titlePurge')
|
||||
: removed
|
||||
? $t('moderation.removeSubmission.titleRestore')
|
||||
: $t('moderation.removeSubmission.title')}
|
||||
</span>
|
||||
<Modal
|
||||
bind:open
|
||||
title={purge
|
||||
? $t('moderation.removeSubmission.titlePurge')
|
||||
: removed
|
||||
? $t('moderation.removeSubmission.titleRestore')
|
||||
: $t('moderation.removeSubmission.title')}
|
||||
>
|
||||
{#if item}
|
||||
<form
|
||||
on:submit|preventDefault={remove}
|
||||
|
||||
@@ -60,8 +60,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Modal bind:open>
|
||||
<Header slot="title">{$t('moderation.reportModal.title')}</Header>
|
||||
<Modal bind:open title={$t('moderation.reportModal.title')}>
|
||||
<form class="flex flex-col gap-4" on:submit|preventDefault={report}>
|
||||
{#if item}
|
||||
<div class="pointer-events-none list-none">
|
||||
|
||||
Reference in new issue
Block a user