xref: /webtrees/resources/views/modules/compact-chart/individual.phtml (revision 4947e7089adb08f24bf1eef67994a106a8df60aa)
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