xref: /webtrees/resources/views/tree-page-block.phtml (revision baef639bc75c0933c577b8512ecd71c3e626999d)
1<?php use Fisharebest\Webtrees\Module\ModuleBlockInterface; ?>
2
3<?php if ($block->loadAjax()) : ?>
4    <div class="wt-ajax-load" data-ajax-url="<?= e(route('tree-page-block', ['tree' => $tree->name(), 'block_id' => $block_id])) ?>"></div>
5<?php else : ?>
6    <?= $block->getBlock($tree, $block_id, ModuleBlockInterface::CONTEXT_TREE_PAGE) ?>
7<?php endif ?>
8