xref: /webtrees/resources/views/individual-page-title.phtml (revision d1a8402e9ca2ba8e58bd30cfd5a35f2d81ec931b)
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<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 ?>