blob: 95c6d4b8bf3c5d1f0952ba8f5b9393b7de29c870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<?php use Fisharebest\Webtrees\I18N; ?>
<div id="place-hierarchy">
<div class="container">
<h4><?= $title ?></h4>
<h5 class="center">
<?php if ($current) : ?>
<a href="<?= e(route('place-hierarchy', ['ged' => $tree->name()])) ?>">
<?= I18N::translate('World') ?>
</a>
<?php else : ?>
<?= I18N::translate('World') ?>
<?php endif ?>
<?php foreach ($breadcrumbs as $item) : ?>
-
<a href="<?= e($item->url()) ?>" dir="auto"><?= $item->getPlaceName() ?></a>
<?php endforeach ?>
<?php if ($current) : ?>
- <?= $current->getPlaceName() ?>
<?php endif ?>
</h5>
<?php if ($note) : ?>
<div class="center small text-muted">
<?= I18N::translate("Places without valid co-ordinates are not shown on the map and have a red border around the sidebar entry") ?>
</div>
<?php endif ?>
<?= $content ?>
<div class="center">
<?php if ($showeventslink) : ?>
<a class="formField" href= <?= e(route('place-hierarchy', ['ged' => $tree->name(), 'parent' => $parent, 'action' => 'hierarchy-e'])) ?>>
<?= I18N::translate('View table of events occurring in %s', $place) ?>
</a>
|
<?php endif ?>
<a href="<?= e(route('place-hierarchy', ['ged' => $tree->name(), 'action' => key($nextaction)])) ?>">
<?= current($nextaction) ?>
</a>
</div>
</div>
</div>
|