xref: /webtrees/resources/views/modules/compact-chart/arrow-up.phtml (revision 3c04ac885329c9488ff9db0a765e872bf41b9781)
1<?php use Fisharebest\Webtrees\FontAwesome; ?>
2<?php use Fisharebest\Webtrees\I18N; ?>
3
4<?php if ($individual === null) : ?>
5    <?= view('icons/arrow-up') ?>
6<?php else : ?>
7    <?= 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()])]) ?>
8<?php endif;
9