xref: /webtrees/resources/views/modules/compact-chart/individual.phtml (revision 7c2c99fad7cacd17c98be88238ff735d82c6351b)
1<?php
2
3use Fisharebest\Webtrees\Individual;
4
5/**
6 * @var Individual|null $individual
7 */
8
9?>
10<?php if ($individual instanceof Individual) : ?>
11    <?= view('chart-box', ['individual' => $individual]) ?>
12<?php else : ?>
13    <div class="h-100 wt-chart-box">&nbsp;</div>
14<?php endif ?>
15