mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-11-03 03:46:09 +01:00
Handled subtitle if present
This commit is contained in:
committed by
Bastien Wirtz
parent
1de57d9423
commit
f4c026fe2e
@@ -18,6 +18,10 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<p class="title is-4">{{ item.name }}</p>
|
<p class="title is-4">{{ item.name }}</p>
|
||||||
|
<p v-if="item.subtitle" class="subtitle">
|
||||||
|
{{ item.subtitle }}
|
||||||
|
</p>
|
||||||
|
<template v-else>
|
||||||
<p class="subtitle is-6">
|
<p class="subtitle is-6">
|
||||||
<span v-if="error" class="error">An error has occurred.</span>
|
<span v-if="error" class="error">An error has occurred.</span>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
@@ -32,6 +36,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
|
</template>
|
||||||
</Generic>
|
</Generic>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user