xref: /webtrees/resources/views/emails/pending-changes-html.phtml (revision a8b39ba2d349525974d59077419f7a8ea8802aaa)
1<?php
2
3use Fisharebest\Webtrees\Contracts\UserInterface;
4use Fisharebest\Webtrees\Http\RequestHandlers\PendingChanges;
5use Fisharebest\Webtrees\I18N;
6use Fisharebest\Webtrees\Tree;
7
8/**
9 * @var Tree $tree
10 * @var UserInterface $user
11 */
12
13?>
14<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
15    <p>
16        <?= I18N::translate('Hello %s…', '<bdi>' . e($user->realName()) . '</bdi>') ?>
17    </p>
18
19    <p>
20        <?= I18N::translate('There are pending changes for you to moderate.') ?>
21    </p>
22
23    <ul>
24        <li>
25            <a href="<?= e(route(PendingChanges::class, ['tree' => $tree->name()])) ?>">
26                <?= e($tree->title()) ?>
27            </a>
28        </li>
29    </ul>
30</div>
31