Added conditional rendering of word draft.
Fixed positioning of aside in shorter docs.
This commit is contained in:
parent
409ef2cae7
commit
898aa04071
|
|
@ -961,7 +961,7 @@ const items = computed(() => {
|
||||||
:description="formatSignature(document)"
|
:description="formatSignature(document)"
|
||||||
class="py-0 pb-2"
|
class="py-0 pb-2"
|
||||||
>
|
>
|
||||||
<template #headline>
|
<template #headline v-if="document?.type=='activities'">
|
||||||
<span class="text-carpared font-semibold">
|
<span class="text-carpared font-semibold">
|
||||||
<UIcon name="ph-file-dashed" class="mr-1" />{{ document?.draft ? $t('ui.draft') : '' }}
|
<UIcon name="ph-file-dashed" class="mr-1" />{{ document?.draft ? $t('ui.draft') : '' }}
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -1009,11 +1009,8 @@ const items = computed(() => {
|
||||||
</UPageBody>
|
</UPageBody>
|
||||||
|
|
||||||
<template #right>
|
<template #right>
|
||||||
<UPageAside
|
<UPageAside>
|
||||||
class="py-0 my-0"
|
<UPageAnchors :links="links" v-if="paragraphs.length" />
|
||||||
>
|
|
||||||
|
|
||||||
<UPageAnchors :links="links" />
|
|
||||||
|
|
||||||
<UAccordion :items="items">
|
<UAccordion :items="items">
|
||||||
<template #body="{ item }">
|
<template #body="{ item }">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue