xref: /webtrees/resources/views/individual-page-title.phtml (revision 4ff0652c9f716485ce1866f88c40897142051b8b)
1<?php
2
3use Fisharebest\Webtrees\Http\RequestHandlers\UserListPage;
4use Fisharebest\Webtrees\Individual;
5use Fisharebest\Webtrees\User;
6use Illuminate\Support\Collection;
7
8/**
9 * @var string               $age
10 * @var Individual           $record
11 * @var Collection<int,User> $users
12 */
13?>
14
15<?= $record->fullName() ?>, <?= $record->lifespan() ?> <?= $age ?>
16<?php foreach ($users as $user) : ?>
17    — <a href="<?= e(route(UserListPage::class, ['filter' => $user->email()])) ?>">
18        <?= e($user->userName()) ?>
19    </a>
20<?php endforeach ?>