xref: /webtrees/resources/views/modules/compact-chart/individual.phtml (revision 677aaceaa3f30bf689cca08894f5a34cdf4056b6)
1<?php if ($individual === null) : ?>
2    <div class="h-100 person_boxNN person_box_template">&nbsp;</div>
3<?php else : ?>
4    <div class="h-100 person_box<?= ['M' => '', 'F' => 'F', 'U' => 'NN'][$individual->getSex()]?> person_box_template">
5        <a href="<?= e($individual->url()) ?>">
6            <?= $individual->getFullName() ?>
7        </a>
8        <div class="small">
9            <?= $individual->getLifeSpan() ?>
10        </div>
11    </div>
12<?php endif ?>
13