UserView layout improvement
This commit is contained in:
parent
9b34b9de8c
commit
11cb3fef38
1 changed files with 15 additions and 7 deletions
|
@ -1,11 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<Calendar :doors="doors" />
|
<template v-if="store.user_doors.length > 0">
|
||||||
<hr />
|
<Calendar :doors="doors" />
|
||||||
<div class="content" v-html="store.site_config.content" />
|
<hr />
|
||||||
<div class="content has-text-primary" v-if="store.next_door_target !== null">
|
<div class="content" v-html="store.site_config.content" />
|
||||||
Zeit bis zum nächsten Türchen:
|
<div class="content has-text-primary">
|
||||||
<CountDown :until="store.next_door_target" />
|
<template v-if="store.next_door_target === null">
|
||||||
</div>
|
Alle {{ store.user_doors.length }} Türchen offen!
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
{{ store.user_doors.length }} Türchen offen. Zeit bis zum nächsten
|
||||||
|
Türchen:
|
||||||
|
<CountDown :until="store.next_door_target" />
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
Loading…
Reference in a new issue