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