all system emails look fresh now, plus added paddle portal debugging
This commit is contained in:
@@ -47,6 +47,27 @@ return [
|
||||
'line_time' => 'Zeitpunkt: :time',
|
||||
'footer' => 'Bitte prüfen Sie die Queue-Logs für weitere Details.',
|
||||
],
|
||||
'reset_password' => [
|
||||
'subject' => 'Passwort zurücksetzen',
|
||||
'preheader' => 'Verwenden Sie diesen Link, um Ihr Passwort zurückzusetzen.',
|
||||
'hero_title' => 'Passwort zurücksetzen, :name',
|
||||
'hero_subtitle' => 'Sichern Sie Ihr Konto in einem Schritt.',
|
||||
'body' => 'Klicken Sie auf den Button, um Ihr Passwort zurückzusetzen.',
|
||||
'expires' => 'Dieser Link ist :minutes Minuten gültig.',
|
||||
'link_fallback' => 'Falls der Button nicht funktioniert, kopieren Sie diesen Link in Ihren Browser:',
|
||||
'cta' => 'Passwort zurücksetzen',
|
||||
'footer' => 'Wenn Sie kein neues Passwort angefordert haben, können Sie diese E-Mail ignorieren.',
|
||||
],
|
||||
'contact_request' => [
|
||||
'subject' => 'Neue Kontaktanfrage',
|
||||
'preheader' => 'Eine neue Nachricht ist über das Kontaktformular eingegangen.',
|
||||
'hero_title' => 'Neue Kontaktanfrage',
|
||||
'hero_subtitle' => 'Ein Besucher hat eine neue Nachricht gesendet.',
|
||||
'line_name' => 'Name: :name',
|
||||
'line_email' => 'E-Mail: :email',
|
||||
'line_message' => 'Nachricht:',
|
||||
'footer' => 'Antworte direkt auf die Nachricht, um nachzufassen.',
|
||||
],
|
||||
|
||||
'purchase' => [
|
||||
'subject' => 'Kauf-Bestätigung - :package',
|
||||
|
||||
@@ -46,6 +46,27 @@ return [
|
||||
'line_time' => 'Time: :time',
|
||||
'footer' => 'Please investigate the failure in the queue logs.',
|
||||
],
|
||||
'reset_password' => [
|
||||
'subject' => 'Reset your password',
|
||||
'preheader' => 'Use this link to reset your password.',
|
||||
'hero_title' => 'Reset your password, :name',
|
||||
'hero_subtitle' => 'Secure your account in one step.',
|
||||
'body' => 'Click the button below to reset your password.',
|
||||
'expires' => 'This password reset link expires in :minutes minutes.',
|
||||
'link_fallback' => 'If the button does not work, copy and paste this link into your browser:',
|
||||
'cta' => 'Reset password',
|
||||
'footer' => 'If you did not request a password reset, you can ignore this email.',
|
||||
],
|
||||
'contact_request' => [
|
||||
'subject' => 'New contact request',
|
||||
'preheader' => 'A new message arrived via the contact form.',
|
||||
'hero_title' => 'New contact request',
|
||||
'hero_subtitle' => 'A visitor sent a new message.',
|
||||
'line_name' => 'Name: :name',
|
||||
'line_email' => 'Email: :email',
|
||||
'line_message' => 'Message:',
|
||||
'footer' => 'Reply directly to the sender to follow up.',
|
||||
],
|
||||
|
||||
'purchase' => [
|
||||
'subject' => 'Purchase Confirmation - :package',
|
||||
|
||||
31
resources/views/emails/contact-request.blade.php
Normal file
31
resources/views/emails/contact-request.blade.php
Normal file
@@ -0,0 +1,31 @@
|
||||
@extends('emails.partials.layout')
|
||||
|
||||
@section('title', __('emails.contact_request.subject'))
|
||||
@section('preheader', __('emails.contact_request.preheader'))
|
||||
@section('hero_title', __('emails.contact_request.hero_title'))
|
||||
@section('hero_subtitle', __('emails.contact_request.hero_subtitle'))
|
||||
|
||||
@section('content')
|
||||
<div style="background-color:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:16px; margin-bottom:16px;">
|
||||
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td style="padding:6px 0; font-size:14px; color:#0f172a;">
|
||||
{{ __('emails.contact_request.line_name', ['name' => $name]) }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:6px 0; font-size:14px; color:#0f172a;">
|
||||
{{ __('emails.contact_request.line_email', ['email' => $email]) }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<p style="margin:0 0 8px; font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:#64748b;">
|
||||
{{ __('emails.contact_request.line_message') }}
|
||||
</p>
|
||||
<p style="margin:0; font-size:14px; color:#1f2937; white-space:pre-line;">{{ $messageBody }}</p>
|
||||
@endsection
|
||||
|
||||
@section('footer')
|
||||
{!! __('emails.contact_request.footer') !!}
|
||||
@endsection
|
||||
29
resources/views/emails/reset-password.blade.php
Normal file
29
resources/views/emails/reset-password.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
@extends('emails.partials.layout')
|
||||
|
||||
@section('title', __('emails.reset_password.subject'))
|
||||
@section('preheader', __('emails.reset_password.preheader'))
|
||||
@section('hero_title', __('emails.reset_password.hero_title', ['name' => $user->fullName ?? $user->name ?? $user->email]))
|
||||
@section('hero_subtitle', __('emails.reset_password.hero_subtitle'))
|
||||
|
||||
@section('content')
|
||||
<p style="margin:0 0 12px; font-size:15px; color:#1f2937;">
|
||||
{{ __('emails.reset_password.body') }}
|
||||
</p>
|
||||
<p style="margin:0 0 16px; font-size:14px; color:#1f2937;">
|
||||
{{ __('emails.reset_password.expires', ['minutes' => $expiresIn]) }}
|
||||
</p>
|
||||
<p style="margin:0; font-size:13px; color:#6b7280;">
|
||||
{{ __('emails.reset_password.link_fallback') }}<br>
|
||||
<span style="word-break:break-all;">{{ $resetUrl }}</span>
|
||||
</p>
|
||||
@endsection
|
||||
|
||||
@section('cta')
|
||||
<a href="{{ $resetUrl }}" style="display:inline-block; background-color:#111827; color:#ffffff; text-decoration:none; padding:12px 20px; border-radius:999px; font-weight:600; font-size:14px;">
|
||||
{{ __('emails.reset_password.cta') }}
|
||||
</a>
|
||||
@endsection
|
||||
|
||||
@section('footer')
|
||||
{!! __('emails.reset_password.footer') !!}
|
||||
@endsection
|
||||
Reference in New Issue
Block a user