xref: /webtrees/resources/views/emails/pending-changes-html.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
122e73debSGreg Roach<?php
222e73debSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
57c2c99faSGreg Roachuse Fisharebest\Webtrees\Contracts\UserInterface;
622e73debSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChanges;
722e73debSGreg Roachuse Fisharebest\Webtrees\I18N;
87c2c99faSGreg Roachuse Fisharebest\Webtrees\Tree;
97c2c99faSGreg Roach
107c2c99faSGreg Roach/**
117c2c99faSGreg Roach * @var Tree $tree
127c2c99faSGreg Roach * @var UserInterface $user
137c2c99faSGreg Roach */
1422e73debSGreg Roach
1522e73debSGreg Roach?>
1665cf5706SGreg Roach<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
17dd6b2bfcSGreg Roach    <p>
18315eb316SGreg Roach        <?= I18N::translate('Hello %s…', '<bdi>' . e($user->realName()) . '</bdi>') ?>
19dd6b2bfcSGreg Roach    </p>
20dd6b2bfcSGreg Roach
21dd6b2bfcSGreg Roach    <p>
22dd6b2bfcSGreg Roach        <?= I18N::translate('There are pending changes for you to moderate.') ?>
23dd6b2bfcSGreg Roach    </p>
24dd6b2bfcSGreg Roach
25dd6b2bfcSGreg Roach    <ul>
26dd6b2bfcSGreg Roach        <li>
2722e73debSGreg Roach            <a href="<?= e(route(PendingChanges::class, ['tree' => $tree->name()])) ?>">
28cc13d6d8SGreg Roach                <?= e($tree->title()) ?>
29dd6b2bfcSGreg Roach            </a>
30dd6b2bfcSGreg Roach        </li>
31dd6b2bfcSGreg Roach    </ul>
32fd5f2920SGreg Roach</div>
33