xref: /webtrees/resources/views/emails/verify-notify-html.phtml (revision b11cdcd45131b1585d66693fab363cfeb18c51a4)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Contracts\UserInterface;
6use Fisharebest\Webtrees\Http\RequestHandlers\UserEditPage;
7use Fisharebest\Webtrees\I18N;
8
9/**
10 * @var UserInterface $user
11 */
12
13?>
14<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
15    <p>
16        <?= I18N::translate('Hello administrator…') ?>
17    </p>
18
19    <p>
20        <?= /* I18N: %1$s is a real-name, %2$s is a username, %3$s is an email address */
21        I18N::translate(
22            'A new user (%1$s) has requested an account (%2$s) and verified an email address (%3$s).',
23            e($user->realName()),
24            e($user->userName()),
25            e($user->email())
26        ) ?>
27    </p>
28
29    <p>
30        <?= I18N::translate('You need to review the account details.') ?>
31    </p>
32
33    <a href="<?= e(route(UserEditPage::class, ['user_id' => $user->id()])) ?>">
34        <?= e(route(UserEditPage::class, ['user_id' => $user->id()])) ?>
35    </a>
36
37    <ul>
38        <li><?= /* I18N: You need to: */
39            I18N::translate('Set the status to “approved”.') ?></li>
40        <li><?= /* I18N: You need to: */
41            I18N::translate('Set the access level for each tree.') ?></li>
42        <li><?= /* I18N: You need to: */
43            I18N::translate('Link the user account to an individual.') ?></li>
44    </ul>
45</div>
46