xref: /webtrees/resources/views/modules/pedigree-map/events.phtml (revision 00b1984e374faddab4698e73088f0c964e529b65)
1<?php
2
3use Fisharebest\Webtrees\Fact;
4
5/**
6 * @var Fact   $fact
7 * @var string $relationship
8 * @var int    $sosa
9 */
10
11?>
12<div class="label">
13    <?= $relationship ?>
14</div>
15
16<?php if ($sosa !== 1) : ?>
17    <a href="<?= e($fact->record()->url()) ?>">
18        <?= $fact->record()->fullName() ?>
19    </a>
20<?php endif ?>
21
22<div>
23    <?= $fact->label() ?>: <?= $fact->date()->display(true) ?>
24</div>
25
26<div>
27    <a href="<?= e($fact->place()->url()) ?>">
28        <?= $fact->place()->fullName() ?>
29    </a>
30</div>
31