xref: /webtrees/resources/views/emails/pending-changes-html.phtml (revision 3d2c98d1066d5e178a3d1ceb3bdc58b7ba8ee926)
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…', '<span dir="auto">' . e($user->realName()) . '</span>') ?>
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