xref: /webtrees/resources/views/emails/pending-changes-html.phtml (revision 090a06287954f43677f06ea778b3f67c029de8fe)
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