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