xref: /webtrees/resources/views/emails/verify-notify-html.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
165cf5706SGreg Roach<?php
265cf5706SGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
57c2c99faSGreg Roachuse Fisharebest\Webtrees\Contracts\UserInterface;
64c3563c0SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserEditPage;
765cf5706SGreg Roachuse Fisharebest\Webtrees\I18N;
865cf5706SGreg Roach
97c2c99faSGreg Roach/**
107c2c99faSGreg Roach * @var UserInterface $user
117c2c99faSGreg Roach */
127c2c99faSGreg Roach
1365cf5706SGreg Roach?>
1465cf5706SGreg Roach<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
15dd6b2bfcSGreg Roach    <p>
16dd6b2bfcSGreg Roach        <?= I18N::translate('Hello administrator…') ?>
17dd6b2bfcSGreg Roach    </p>
18dd6b2bfcSGreg Roach
19dd6b2bfcSGreg Roach    <p>
20fd5f2920SGreg Roach        <?= /* I18N: %1$s is a real-name, %2$s is a username, %3$s is an email address */
21fd5f2920SGreg Roach        I18N::translate(
22dd6b2bfcSGreg Roach            'A new user (%1$s) has requested an account (%2$s) and verified an email address (%3$s).',
23e5a6b4d4SGreg Roach            e($user->realName()),
24c65e00b4SGreg Roach            e($user->userName()),
25e5a6b4d4SGreg Roach            e($user->email())
26dd6b2bfcSGreg Roach        ) ?>
27dd6b2bfcSGreg Roach    </p>
28dd6b2bfcSGreg Roach
29dd6b2bfcSGreg Roach    <p>
30dd6b2bfcSGreg Roach        <?= I18N::translate('You need to review the account details.') ?>
31dd6b2bfcSGreg Roach    </p>
32dd6b2bfcSGreg Roach
334c3563c0SGreg Roach    <a href="<?= e(route(UserEditPage::class, ['user_id' => $user->id()])) ?>">
344c3563c0SGreg Roach        <?= e(route(UserEditPage::class, ['user_id' => $user->id()])) ?>
35dd6b2bfcSGreg Roach    </a>
36dd6b2bfcSGreg Roach
37dd6b2bfcSGreg Roach    <ul>
38fd5f2920SGreg Roach        <li><?= /* I18N: You need to: */
39fd5f2920SGreg Roach            I18N::translate('Set the status to “approved”.') ?></li>
40fd5f2920SGreg Roach        <li><?= /* I18N: You need to: */
41fd5f2920SGreg Roach            I18N::translate('Set the access level for each tree.') ?></li>
42fd5f2920SGreg Roach        <li><?= /* I18N: You need to: */
43fd5f2920SGreg Roach            I18N::translate('Link the user account to an individual.') ?></li>
44dd6b2bfcSGreg Roach    </ul>
45fd5f2920SGreg Roach</div>
46