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