<?php use Fisharebest\Webtrees\FontAwesome; ?>
<?php use Fisharebest\Webtrees\I18N; ?>

<?php if ($individual === null) : ?>
    <?= view('icons/arrow-up') ?>
<?php else : ?>
    <?= FontAwesome::linkIcon('arrow-up', I18N::translate('Compact tree of %s', strip_tags($individual->getFullName())), ['href' => route('compact-tree', ['xref' => $individual->xref(), 'ged' => $individual->tree()->name()])]) ?>
<?php endif;
