feat(geschichten): show blog writers' own drafts on the Geschichten overview (#807) #813
@@ -153,6 +153,12 @@ function removeDocument() {
|
||||
{/if}
|
||||
|
||||
<!-- Published rows -->
|
||||
{#if data.drafts.length > 0}
|
||||
<!-- Heading only when the Entwürfe section is present, to keep the h2 outline balanced -->
|
||||
<h2 class="px-3 pt-3 pb-1 font-sans text-xs font-bold tracking-widest text-ink-3 uppercase">
|
||||
{m.geschichten_published_heading()}
|
||||
</h2>
|
||||
{/if}
|
||||
{#if data.geschichten.length === 0}
|
||||
<div class="px-4 py-12 text-center font-serif text-sm text-ink-3 italic">
|
||||
{emptyMessage}
|
||||
|
||||
Reference in New Issue
Block a user