Preise-Seite: dynamische Tarif-Vorteile aus dem Plan anzeigen
Die oeffentliche Preise-Seite rendert jetzt die im Admin gepflegte Vorteilsliste (plans.benefits) pro Tarif; faellt ohne gepflegte Vorteile auf den statischen pricing.plans.included-Text zurueck. DB-Vorteile sind admin-redaktionelle Texte und erscheinen auch unter /en in der erfassten Sprache (Preis-/Struktur-Keys bleiben uebersetzt). Hinweis: betrifft Web-Frontend (WIP des Users), daher separater Commit. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
e96a11824b
commit
f6a8143a2c
1 changed files with 9 additions and 3 deletions
|
|
@ -109,9 +109,15 @@
|
|||
<span class="text-ink-3">{{ __('pricing.plans.no_daily_limit') }}</span>
|
||||
@endif
|
||||
</li>
|
||||
<li class="flex items-baseline gap-2 text-ink-3">
|
||||
<span>{{ __('pricing.plans.included') }}</span>
|
||||
</li>
|
||||
@forelse ($plan->benefitsList() as $benefit)
|
||||
<li class="flex items-baseline gap-2 text-ink-3">
|
||||
<span>{{ $benefit }}</span>
|
||||
</li>
|
||||
@empty
|
||||
<li class="flex items-baseline gap-2 text-ink-3">
|
||||
<span>{{ __('pricing.plans.included') }}</span>
|
||||
</li>
|
||||
@endforelse
|
||||
</ul>
|
||||
|
||||
{{-- TODO: Deep-Link zu Checkout/Registrierung mit Tarif-Vorauswahl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue