55 lines
3.3 KiB
PHP
55 lines
3.3 KiB
PHP
<x-mail.layout
|
|
:heading="__('operator_invitation.heading')"
|
|
:preheader="__('operator_invitation.preheader', ['hours' => $hours])"
|
|
:greeting="$name ? __('operator_invitation.greeting', ['name' => $name]) : null"
|
|
>
|
|
|
|
<tr><td style="padding:0 24px 24px 24px;">
|
|
<p style="margin:0;font-size:15px;line-height:24px;color:#43434e;">{{ __('operator_invitation.intro', ['inviter' => $invitedBy]) }}</p>
|
|
</td></tr>
|
|
|
|
<tr><td style="padding:0 24px;">
|
|
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr><td align="center" bgcolor="#b8500a" style="background-color:#b8500a;border-radius:8px;">
|
|
<a href="{{ $url }}" style="display:inline-block;padding:13px 26px;font-family:'IBM Plex Sans',-apple-system,Helvetica,Arial,sans-serif;font-size:15px;line-height:20px;font-weight:600;color:#ffffff;text-decoration:none;border-radius:8px;">{{ __('operator_invitation.action') }}</a>
|
|
</td></tr>
|
|
</table>
|
|
<p style="margin:14px 0 0 0;font-size:13px;line-height:20px;color:#6e6e7a;">{!! __('operator_invitation.expiry', ['hours' => '<strong style="color:#43434e;font-weight:600;">'.$hours.'</strong>']) !!}</p>
|
|
</td></tr>
|
|
|
|
{{-- Der Link auch als Text, aus demselben Grund wie bei der Bestätigungs- und
|
|
der Rücksetzmail: Mail-Gateways in Firmen schreiben Knopf-Links um, und
|
|
manche holen das Ziel vorher ab, um es zu prüfen — bei einem Link, der sich
|
|
nur einmal einlösen lässt, ist er damit verbraucht, bevor ihn jemand
|
|
angeklickt hat. --}}
|
|
<tr><td style="padding:28px 24px 0 24px;">
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;background-color:#fafafb;border:1px solid #e9e9ee;border-radius:8px;">
|
|
<tr><td style="padding:14px 16px;">
|
|
<p style="margin:0 0 6px 0;font-size:12px;line-height:16px;color:#6e6e7a;">{{ __('operator_invitation.fallback') }}</p>
|
|
<p style="margin:0;font-family:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:18px;color:#b8500a;word-break:break-all;">{{ $url }}</p>
|
|
</td></tr>
|
|
</table>
|
|
</td></tr>
|
|
|
|
{{-- Die Konsole ist netzbeschränkt (RestrictConsoleNetwork): wer nicht im
|
|
Verwaltungsnetz sitzt, bekommt auf diesen Link ein 404 und nicht etwa eine
|
|
Fehlermeldung, die den Grund nennt. Ohne diesen Satz sähe das wie ein
|
|
kaputter Link aus, und der Eingeladene würde ihn wieder und wieder
|
|
anklicken, statt den zu fragen, der ihn geschickt hat. --}}
|
|
<tr><td style="padding:24px 24px 0 24px;">
|
|
<p style="margin:0;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('operator_invitation.network', ['inviter' => $invitedBy]) }}</p>
|
|
</td></tr>
|
|
|
|
{{-- Wer das nicht erwartet hat, soll NICHTS tun. Eine Mail, die einen Zugang
|
|
zu einer Verwaltungskonsole anbietet, ist der Bauplan jedes Phishing-
|
|
Versuchs — deshalb steht hier dieselbe Regel wie auf der Rücksetzmail. --}}
|
|
<tr><td style="padding:24px 24px 32px 24px;">
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr><td style="border-top:1px solid #e9e9ee;padding-top:20px;">
|
|
<p style="margin:0;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('operator_invitation.not_you') }}</p>
|
|
</td></tr>
|
|
</table>
|
|
</td></tr>
|
|
|
|
</x-mail.layout>
|