Files
n8n-compose/freescout-templates/auto_reply.blade.php

69 lines
3.2 KiB
PHP
Raw Normal View History

<html lang="{{ app()->getLocale() }}" @if (\Helper::isLocaleRtl()) dir="rtl" @endif>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
p { margin: 0 0 1.2em 0; }
a { color: #1b6ca8; text-decoration: none; }
</style>
</head>
<body style="margin:0; padding:0; background:#f0f2f5; -webkit-text-size-adjust:none;">
{{-- Outer background table --}}
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background:#f0f2f5; padding:24px 16px;">
<tr><td align="center">
{{-- Email card --}}
<table width="600" cellpadding="0" cellspacing="0" border="0" style="background:#ffffff; border-radius:8px; overflow:hidden; max-width:600px; box-shadow:0 2px 16px rgba(0,0,0,0.09);">
{{-- HEADER BAR --}}
<tr>
<td style="background:#1b6ca8; padding:18px 28px;">
<span style="color:#ffffff; font-size:17px; font-weight:700; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; letter-spacing:-0.2px;">{{ $mailbox->name }}</span>
<span style="color:rgba(255,255,255,0.65); font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; font-size:13px; padding-left:10px;">Automatische Antwort</span>
</td>
</tr>
{{-- CONTENT --}}
<tr>
<td style="padding:0;">
<div id="{{ App\Misc\Mail::REPLY_SEPARATOR_HTML }}" class="{{ App\Misc\Mail::REPLY_SEPARATOR_HTML }}">
<div style="padding:28px 28px 8px; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; color:#1a1a1a; font-size:14px; line-height:1.7; @if(\Helper::isLocaleRtl()) direction:rtl; unicode-bidi:plaintext; text-align:right; @endif">
{!! $auto_reply_message !!}
</div>
</div>
</td>
</tr>
{{-- FOOTER --}}
<tr>
<td style="padding:0 28px;">
<div style="height:1px; background:#e8eaed; margin-top:8px;"></div>
</td>
</tr>
<tr>
<td style="padding:14px 28px 20px;">
<span style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; font-size:12px; color:#9aa0a6;">
{{ $mailbox->name }} &bull; <a href="mailto:{{ $mailbox->email }}" style="color:#1b6ca8; text-decoration:none;">{{ $mailbox->email }}</a>
</span>
</td>
</tr>
@if (\App\Option::get('email_branding'))
<tr>
<td style="padding:0 28px 16px;">
<span style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; font-size:11px; color:#c0c4cc;">
{!! __('Support powered by :app_name — Free open source help desk & shared mailbox', ['app_name' => '<a href="'.Config::get('app.freescout_url').'" style="color:#c0c4cc;">'.\Config::get('app.name').'</a>']) !!}
</span>
</td>
</tr>
@endif
</table>{{-- /email card --}}
</td></tr>
</table>{{-- /outer --}}
<span height="0" style="font-size:0px; height:0px; line-height:0px; color:#ffffff;">{{ \MailHelper::getMessageMarker($headers['Message-ID']) }}</span>
</body>
</html>