<?php

use Fisharebest\Webtrees\Contracts\UserInterface;
use Fisharebest\Webtrees\Http\RequestHandlers\UserEditPage;
use Fisharebest\Webtrees\I18N;

/**
 * @var UserInterface $user
 */

?>
<?= I18N::translate('Hello administrator…') ?>

<?= /* I18N: %1$s is a real-name, %2$s is a username, %3$s is an email address */ I18N::translate(
    'A new user (%1$s) has requested an account (%2$s) and verified an email address (%3$s).',
    e($user->realName()),
    e($user->userName()),
    e($user->email())
) ?>

<?= I18N::translate('You need to review the account details.') ?>

<?= route(UserEditPage::class, ['user_id' => $user->id()]) ?>

<?= /* I18N: You need to: */ I18N::translate('Set the status to “approved”.') ?>
<?= /* I18N: You need to: */ I18N::translate('Set the access level for each tree.') ?>
<?= /* I18N: You need to: */ I18N::translate('Link the user account to an individual.');
