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