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