xref: /webtrees/resources/views/modules/compact-chart/arrow-down.phtml (revision 8136679edbff8170fb92bd6e8dd8df8eb645bb1a)
1<?php use Fisharebest\Webtrees\FontAwesome; ?>
2<?php use Fisharebest\Webtrees\I18N; ?>
3
4<?php if ($individual === null) : ?>
5    <?= view('icons/arrow-down') ?>
6<?php else : ?>
7    <?= FontAwesome::linkIcon('arrow-down', I18N::translate('Compact tree of %s', strip_tags($individual->getFullName())), ['href' => route('compact-tree', ['xref' => $individual->xref(), 'ged' => $individual->tree()->name()])]) ?>
8<?php endif;
9