Neuer Beitrag

{#if stagedFiles.length > 0}
{#each stagedFiles as sf, i (sf.previewUrl)}
{#if isVideo(sf.file)}
{:else} {/if}
{/each}
{:else}

Keine Dateien ausgewählt

Geh zurück und tippe auf den Plus-Button.

{/if}
{caption.length} / {MAX_CAPTION_LENGTH}
{#if captionTags.length > 0}
{#each captionTags as tag (tag)} #{tag} {/each}
{/if} {#if isStaff && $quotaStore.enabled && $quotaStore.limit_bytes != null}
Speicher: {formatBytes($quotaStore.used_bytes + totalStagedBytes)} / {formatBytes( $quotaStore.limit_bytes )} = 80} class:dark:text-amber-400={quotaPercent >= 80} class:text-red-600={quotaPercent >= 95} class:dark:text-red-400={quotaPercent >= 95} > {Math.round(quotaPercent)}%
= 80 && quotaPercent < 95} class:bg-red-500={quotaPercent >= 95} style="width: {quotaPercent}%" >
{#if quotaPercent >= 100}

Limit erreicht — bitte alte Beiträge löschen.

{:else if quotaPercent >= 95}

Fast voll.

{/if}
{/if}
(discardConfirmOpen = false)} />