xref: /webtrees/resources/views/tree-page-block.phtml (revision ba1d7494e9648df5a87aaa3fece3e098e5ce26b1)
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])) ?>">
5    </div>
6<?php else : ?>
7    <?= $block->getBlock($tree, $block_id, ModuleBlockInterface::CONTEXT_TREE_PAGE) ?>
8<?php endif ?>
9