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() ?> 24</div> 25 26<div> 27 <a href="<?= e($fact->place()->url()) ?>"> 28 <?= $fact->place()->fullName() ?> 29 </a> 30</div> 31