Add the logo and the web wordmark colors to e-mails
CI / Deploy / PHP 8.5 (push) Successful in 1m6s
CI / Deploy / PHP 8.4 (push) Successful in 1m10s
CI / Deploy / test (push) Successful in 2s
CI / Deploy / deploy (push) Skipped

The HTML layout now shows the logo (inline CID attachment, generated with
the favicon script) before "Plenar" in the text color and "IO" in the primary
color, like the site header. Muted gray and background match the web tokens.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-16 15:08:13 +01:00
1 parent 8262411225
commit 72b688186f
9 files changed
+96 -11

No files matched your search

+2 -2
View File
@@ -11,10 +11,10 @@
<p style="margin:24px 0;">
<a href="<?= h($adminUrl) ?>" style="display:inline-block;background:#4b3fe0;color:#ffffff;text-decoration:none;padding:12px 20px;border-radius:8px;font-weight:600;"><?= __('Umfrage verwalten') ?></a>
</p>
<p style="font-size:13px;color:#5b5f7a;word-break:break-all;"><?= h($adminUrl) ?></p>
<p style="font-size:13px;color:#5d6280;word-break:break-all;"><?= h($adminUrl) ?></p>
<p><strong><?= __('Wichtig:') ?></strong> <?= __('Wer diesen Link kennt, kann die Umfrage bearbeiten. Gib ihn nicht weiter.') ?></p>
<p><?= __('Teilnehmende erreichen die Umfrage unter {0} mit dem Code <strong>{1}</strong>.', '<a href="' . h($joinUrl) . '">' . h($joinUrl) . '</a>', h($poll->formattedJoinCode())) ?></p>
<?php if ($poll->expiresAt() !== null) : ?>
<p><?= __('Hinweis: Die Umfrage wird am {0} automatisch gelöscht. Vorher erinnern wir dich per E-Mail.', h($poll->expiresAt()->format('d.m.Y'))) ?></p>
<?php endif; ?>
<p style="font-size:13px;color:#5b5f7a;"><?= __('Du hast diese Umfrage nicht angelegt? Dann kannst du diese E-Mail ignorieren.') ?></p>
<p style="font-size:13px;color:#5d6280;"><?= __('Du hast diese Umfrage nicht angelegt? Dann kannst du diese E-Mail ignorieren.') ?></p>
+2 -2
View File
@@ -12,6 +12,6 @@
<p style="margin:24px 0;">
<a href="<?= h($adminUrl) ?>" style="display:inline-block;background:#4b3fe0;color:#ffffff;text-decoration:none;padding:12px 20px;border-radius:8px;font-weight:600;"><?= __('Umfrage öffnen') ?></a>
</p>
<p style="font-size:13px;color:#5b5f7a;word-break:break-all;"><?= h($adminUrl) ?></p>
<p style="font-size:13px;color:#5d6280;word-break:break-all;"><?= h($adminUrl) ?></p>
<p><strong><?= __('Wichtig:') ?></strong> <?= __('Wer diesen Link kennt, kann die Umfrage bearbeiten. Gib ihn nicht weiter.') ?></p>
<p style="font-size:13px;color:#5b5f7a;"><?= __('Du brauchst die Umfrage nicht mehr? Dann musst du nichts tun.') ?></p>
<p style="font-size:13px;color:#5d6280;"><?= __('Du brauchst die Umfrage nicht mehr? Dann musst du nichts tun.') ?></p>
+2 -2
View File
@@ -10,8 +10,8 @@
<?php foreach ($links as $link) : ?>
<li style="margin-bottom:12px;">
<a href="<?= h($link['url']) ?>" style="color:#4b3fe0;font-weight:600;"><?= h($link['title']) ?></a><br>
<span style="font-size:13px;color:#5b5f7a;"><?= __('angelegt am {0}', h($link['created'])) ?></span>
<span style="font-size:13px;color:#5d6280;"><?= __('angelegt am {0}', h($link['created'])) ?></span>
</li>
<?php endforeach; ?>
</ul>
<p style="font-size:13px;color:#5b5f7a;"><?= __('Du hast diese E-Mail nicht angefordert? Dann kannst du sie ignorieren – deine Links bleiben unverändert gültig.') ?></p>
<p style="font-size:13px;color:#5d6280;"><?= __('Du hast diese E-Mail nicht angefordert? Dann kannst du sie ignorieren – deine Links bleiben unverändert gültig.') ?></p>