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