xref: /webtrees/resources/views/emails/new-version-html.phtml (revision e6f6dba568a1cd33f69043304bcc868958be978a)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Contracts\UserInterface;
6use Fisharebest\Webtrees\I18N;
7
8/**
9 * @var string        $latest_version
10 * @var UserInterface $recipient
11 * @var string        $url
12 */
13
14?>
15
16<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
17    <p>
18        <?= I18N::translate('Hello %s…', '<bdi>' . e($recipient->realName()) . '</bdi>') ?>
19    </p>
20
21    <p>
22        <?= I18N::translate('A new version of webtrees is available.') ?>  <?= e($latest_version) ?>
23    </p>
24
25    <p>
26        <?= I18N::translate('See %s for more information.', '<a href="https://webtrees.net">webtrees.net</a>') ?>
27    </p>
28
29    <p>
30        <a href="<?= e($url) ?>"><?= e($url) ?></a>
31    </p>
32</div>
33