kanban : prepare empty states

This commit is contained in:
isUnknown 2024-11-21 18:10:24 +01:00
parent d4c2f9e408
commit 91233e6672
2 changed files with 100 additions and 87 deletions

View file

@ -6,7 +6,7 @@ Stepname: extendedBrief
----
Pdf: - file://znIEFNoLyfGe7Lw4
Pdf:
----

View file

@ -9,6 +9,14 @@
<span :data-icon="step.id">{{ step.label }}</span>
</h2>
<div class="cards | flow">
<template
v-if="
step.id === 'clientBrief' ||
step.files.dynamic ||
step.files.static ||
step.files.length
"
>
<article class="card" v-if="step.id !== 'proposal'">
<hgroup class="order-last">
<h3 class="card__title | font-serif | text-lg">
@ -88,7 +96,9 @@
class="link-full"
>
{{
file.label.length ? file.label : file.name.replace(".pdf", "")
file.label.length
? file.label
: file.name.replace(".pdf", "")
}}
</router-link>
</h3>
@ -115,6 +125,9 @@
</footer>
</article>
</template>
</template>
<!-- Empty state -->
<template v-else> </template>
</div>
</section>
</template>