xref: /webtrees/resources/views/place-hierarchy.phtml (revision cd4fed472dcc87e9b04a20d3054a8ee970d2d149)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6
7<div class="<?= $col_class ?> list_table">
8    <div class="row">
9        <span class="col list_label mr-1">
10            <?= I18N::translate('Place hierarchy') ?>
11        </span>
12    </div>
13    <div class="row">
14        <?php foreach ($columns as $column) : ?>
15            <ul class="col list_value_wrap mr-1 list-unstyled">
16                <?php foreach ($column as $item) : ?>
17                    <li>
18                        <a href="<?= e($item->url()) ?>"><?= $item->placeName() ?></a>
19                    </li>
20                <?php endforeach ?>
21            </ul>
22        <?php endforeach ?>
23    </div>
24</div>
25