Changes
This commit is contained in:
@@ -57,6 +57,21 @@ setupPage()
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<UDashboardNavbar :title="itemInfo ? itemInfo.name : (mode === 'create' ? 'Leistung erstellen' : 'Leistung bearbeiten')">
|
<UDashboardNavbar :title="itemInfo ? itemInfo.name : (mode === 'create' ? 'Leistung erstellen' : 'Leistung bearbeiten')">
|
||||||
|
<template #left>
|
||||||
|
<UButton
|
||||||
|
icon="i-heroicons-chevron-left"
|
||||||
|
variant="outline"
|
||||||
|
@click="router.push(`/services`)"
|
||||||
|
>
|
||||||
|
Leistungen
|
||||||
|
</UButton>
|
||||||
|
</template>
|
||||||
|
<template #center>
|
||||||
|
<h1
|
||||||
|
v-if="itemInfo"
|
||||||
|
class="text-xl font-medium"
|
||||||
|
>{{itemInfo.name ? `Leistung: ${itemInfo.name}` : (mode === 'create' ? 'Leistung erstellen' : 'Leistung bearbeiten')}}</h1>
|
||||||
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
<UButton
|
<UButton
|
||||||
v-if="mode === 'edit'"
|
v-if="mode === 'edit'"
|
||||||
@@ -131,6 +146,7 @@ setupPage()
|
|||||||
<div class="w-1/2">
|
<div class="w-1/2">
|
||||||
<UCard>
|
<UCard>
|
||||||
<HistoryDisplay
|
<HistoryDisplay
|
||||||
|
render-headline
|
||||||
type="product"
|
type="product"
|
||||||
v-if="itemInfo"
|
v-if="itemInfo"
|
||||||
:element-id="itemInfo.id"
|
:element-id="itemInfo.id"
|
||||||
|
|||||||
Reference in New Issue
Block a user