1<?php 2 3use Fisharebest\Webtrees\Fact; 4 5/** 6 * @var string $class 7 * @var Fact $fact 8 * @var string $relationship 9 * @var int $sosa 10 */ 11 12?> 13<div class="d-flex justify-content-between"> 14 <div> 15 <div class="label"> 16 <span class="<?= $class ?>"><?= view('icons/location') ?></span> 17 <?= $relationship ?> 18 </div> 19 20 <?php if ($sosa !== 1) : ?> 21 <a href="<?= e($fact->record()->url()) ?>"> 22 <?= $fact->record()->fullName() ?> 23 </a> 24 <?php endif ?> 25 26 <div> 27 <?= $fact->label() ?>: <?= $fact->date()->display($fact->record()->tree()) ?> 28 </div> 29 30 <div> 31 <a href="<?= e($fact->place()->url()) ?>"> 32 <?= $fact->place()->fullName() ?> 33 </a> 34 </div> 35 </div> 36 <div class="d-none d-lg-block"> 37 <?= $fact->record()->displayImage(40, 50, 'crop', []) ?> 38 </div> 39</div> 40