1<?php 2 3declare(strict_types=1); 4 5use Fisharebest\Webtrees\Contracts\UserInterface; 6use Fisharebest\Webtrees\Http\RequestHandlers\PendingChanges; 7use Fisharebest\Webtrees\I18N; 8use Fisharebest\Webtrees\Tree; 9 10/** 11 * @var Tree $tree 12 * @var UserInterface $user 13 */ 14 15?> 16<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>"> 17 <p> 18 <?= I18N::translate('Hello %s…', '<bdi>' . e($user->realName()) . '</bdi>') ?> 19 </p> 20 21 <p> 22 <?= I18N::translate('There are pending changes for you to moderate.') ?> 23 </p> 24 25 <ul> 26 <li> 27 <a href="<?= e(route(PendingChanges::class, ['tree' => $tree->name()])) ?>"> 28 <?= e($tree->title()) ?> 29 </a> 30 </li> 31 </ul> 32</div> 33