xref: /webtrees/resources/views/modules/interactive-tree/chart.phtml (revision 663dd9d85326d3016550248671b2f0eba8949cb3)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4use Fisharebest\Webtrees\Individual;
5use Fisharebest\Webtrees\Tree;
6
7/**
8 * @var Individual $individual
9 * @var string     $module
10 * @var string     $name
11 * @var Tree       $tree
12 */
13
14?>
15
16<div id="<?= $name ?>_out" class="tv_out" data-url-details="<?= e(route('module', ['module' => $module, 'action' => 'Details', 'tree' => $tree->name(), 'dummy' => 'dummy'])) ?>" data-url-individuals="<?= e(route('module', ['module' => $module, 'action' => 'Individuals', 'tree' => $tree->name(), 'dummy' => 'dummy'])) ?>">
17    <div id="tv_tools">
18        <ul>
19            <li id="tvbCompact" class="tv_button" title="<?= I18N::translate('Use compact layout') ?>">
20            </li>
21            <li class="tv_button" id="<?= $name ?>_loading">
22                <i class="icon-loading-small"></i>
23            </li>
24        </ul>
25    </div>
26    <div id="<?= $name ?>_in" class="tv_in" dir="ltr">
27        <?= $individual ?>
28    </div>
29</div>
30