xref: /webtrees/resources/views/modules/places/event-sidebar.phtml (revision 24f2a3af38709f9bf0a739b30264240d20ba34e8)
1<?php
2
3use Fisharebest\Webtrees\Place;
4
5/**
6 * @var string $name
7 * @var Place $place
8 * @var string $tag
9 * @var string $url
10 * @var string $value
11 */
12
13?>
14
15<div class="label">
16    <?= $tag ?>
17</div>
18
19<?php if ($url !== '') : ?>
20    <a href="<?= e($url) ?>">
21        <?= $name ?>
22    </a>
23<?php endif ?>
24
25<?php if ($value !== '') : ?>
26    <span>
27        <?= $value ?>
28    </span>
29<?php endif ?>
30
31<?php if ($place->gedcomName() !== '') : ?>
32    <div>
33        <?= $place->fullName(true) ?>
34    </div>
35<?php endif ?>
36