xref: /webtrees/resources/views/modules/place-hierarchy/list.phtml (revision 4b2f1dbb694a297c8158bace9ac54cc414f54c6d)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
4*4b2f1dbbSGreg Roachuse Fisharebest\Webtrees\Place;
5*4b2f1dbbSGreg Roach
6*4b2f1dbbSGreg Roach/**
7*4b2f1dbbSGreg Roach * @var array<array<Place>> $columns
8*4b2f1dbbSGreg Roach */
9d70512abSGreg Roach
10d70512abSGreg Roach?>
11a634ddebSGreg Roach
12a634ddebSGreg Roach<div class="row">
13a634ddebSGreg Roach    <span class="col list_label mr-1">
14a634ddebSGreg Roach        <?= I18N::translate('Place list') ?>
15a634ddebSGreg Roach    </span>
16a634ddebSGreg Roach</div>
17a634ddebSGreg Roach<div class="row">
18a634ddebSGreg Roach    <?php foreach ($columns as $column) : ?>
192d65026fSGreg Roach        <ul class="col list_value_wrap mr-1 list-unstyled">
20*4b2f1dbbSGreg Roach            <?php foreach ($column as $place) : ?>
21a634ddebSGreg Roach                <li>
22*4b2f1dbbSGreg Roach                    <a href="<?= e($place->url()) ?>"><?= $place->fullName() ?></a>
23a634ddebSGreg Roach                </li>
24a634ddebSGreg Roach            <?php endforeach ?>
25a634ddebSGreg Roach        </ul>
26a634ddebSGreg Roach    <?php endforeach ?>
27a634ddebSGreg Roach</div>
28a634ddebSGreg Roach
29