From 172a6a12d34428392238b09e2307b2224e9a5b77 Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Mon, 13 Apr 2026 23:18:57 +0200 Subject: [PATCH] feat(mail): improve email template header and button styling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Show logo or organisation name (not both), increase logo max-width to 250px, and add ยป to portal action buttons. Co-Authored-By: Claude Opus 4.6 --- api/resources/views/mail/layouts/crewli.blade.php | 7 ++++--- api/resources/views/mail/registration-approved.blade.php | 2 +- .../views/mail/registration-confirmation.blade.php | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/api/resources/views/mail/layouts/crewli.blade.php b/api/resources/views/mail/layouts/crewli.blade.php index b705d54e..9a829fae 100644 --- a/api/resources/views/mail/layouts/crewli.blade.php +++ b/api/resources/views/mail/layouts/crewli.blade.php @@ -15,13 +15,14 @@ - {{-- Header: logo + org name --}} + {{-- Header: logo or org name --}} @if($branding['logo_url']) - {{ $branding['organisation_name'] }} + {{ $branding['organisation_name'] }} + @else +

{{ $branding['organisation_name'] }}

@endif -

{{ $branding['organisation_name'] }}

diff --git a/api/resources/views/mail/registration-approved.blade.php b/api/resources/views/mail/registration-approved.blade.php index e61e307b..985de88c 100644 --- a/api/resources/views/mail/registration-approved.blade.php +++ b/api/resources/views/mail/registration-approved.blade.php @@ -13,5 +13,5 @@ @endsection @section('action') - Naar het portaal + Naar het portaal » @endsection diff --git a/api/resources/views/mail/registration-confirmation.blade.php b/api/resources/views/mail/registration-confirmation.blade.php index f1475a91..8caa6c2c 100644 --- a/api/resources/views/mail/registration-confirmation.blade.php +++ b/api/resources/views/mail/registration-confirmation.blade.php @@ -20,5 +20,5 @@ @endsection @section('action') - Naar het portaal + Naar het portaal » @endsection