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