Rückweg als Pfad im Seitenkopf, Symbol im Kopf (1.0.2)

Passt zu den neuen Seitenköpfen ab Inhaus 0.48 (Kopfband): kein eigener
Zurück-Link mehr über dem Kopf.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-28 19:54:45 +00:00
parent dce39774a2
commit dea1c7061a
10 changed files with 12 additions and 16 deletions

View file

@ -1,7 +1,7 @@
<script setup>
import { computed, ref } from 'vue';
import { Link, useForm } from '@inertiajs/vue3';
import { ChevronLeft, ImagePlus, LoaderCircle, Trash2 } from '@lucide/vue';
import { useForm } from '@inertiajs/vue3';
import { ImagePlus, LoaderCircle, Trash2 } from '@lucide/vue';
import { AppLayout, Button, FormField, Input, PageHeader, Panel, RichTextEditor } from '@inhaus/ui';
const props = defineProps({
@ -48,10 +48,7 @@ function submit() {
<template>
<AppLayout :title="title">
<Link :href="it ? it.url : '/verleih'" class="ih:mb-4 ih:inline-flex ih:items-center ih:gap-1 ih:text-sm ih:font-medium ih:text-muted-foreground ih:hover:text-foreground">
<ChevronLeft class="ih:size-4" /> {{ it ? it.title : labels.title }}
</Link>
<PageHeader :title="title" />
<PageHeader :title="title" :breadcrumbs="it ? [{ label: labels.title, href: '/verleih' }, { label: it.title, href: it.url }] : [{ label: labels.title, href: '/verleih' }]" icon="images" />
<form class="ih:grid ih:gap-6 ih:lg:grid-cols-[minmax(0,1fr)_20rem]" @submit.prevent="submit">
<div class="ih:grid ih:min-w-0 ih:content-start ih:gap-6">

View file

@ -41,7 +41,7 @@ const cancel = (request) => window.confirm('Anfrage zurückziehen?') && router.d
<template>
<AppLayout :title="labels.title">
<PageHeader :title="labels.title" :description="`Alle ${labels.plural} auf einen Blick – verfügbar oder verliehen, und wo sie gerade sind.`">
<PageHeader :title="labels.title" icon="images" :description="`Alle ${labels.plural} auf einen Blick – verfügbar oder verliehen, und wo sie gerade sind.`">
<template #actions>
<template v-if="canManage">
<Button variant="outline" as-child>

View file

@ -1,7 +1,7 @@
<script setup>
import { ref, watch } from 'vue';
import { Link, useForm, usePage } from '@inertiajs/vue3';
import { CalendarDays, Check, ChevronLeft, ImageOff, Inbox, LoaderCircle, MapPin, MessageSquareText, X } from '@lucide/vue';
import { CalendarDays, Check, ImageOff, Inbox, LoaderCircle, MapPin, MessageSquareText, X } from '@lucide/vue';
import {
AppLayout,
Button,
@ -51,8 +51,7 @@ const period = (r) => [r.from ? `ab ${formatDate(r.from)}` : null, r.until ? `bi
<template>
<AppLayout title="Anfragen">
<Link href="/verleih" class="ih:mb-4 ih:inline-flex ih:items-center ih:gap-1 ih:text-sm ih:font-medium ih:text-muted-foreground ih:hover:text-foreground"><ChevronLeft class="ih:size-4" /> {{ labels.title }}</Link>
<PageHeader title="Anfragen" :description="`Zusagen trägt das ${labels.singular} gleich als verliehen ein – mit Wunschort und Person. Die anfragende Person wird benachrichtigt.`" />
<PageHeader title="Anfragen" icon="images" :breadcrumbs="[{ label: labels.title, href: '/verleih' }]" :description="`Zusagen trägt das ${labels.singular} gleich als verliehen ein – mit Wunschort und Person. Die anfragende Person wird benachrichtigt.`" />
<section aria-labelledby="offen" class="ih:mb-8">
<h2 id="offen" class="ih:mb-3 ih:text-sm ih:font-semibold">Offen <span class="ih:text-muted-foreground">({{ pending.length }})</span></h2>