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