summaryrefslogtreecommitdiff
path: root/resources/views/modules/pedigree-map/events.phtml
blob: df2f431386dc375760cea2cb9a68d0595a99acab (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
<?php use Fisharebest\Webtrees\GedcomTag; ?>
<div class="label">
    <?= $tag ?>
</div>

<?php if ($url) : ?>
    <a href="<?= e($url) ?>">
        <?= $name ?>
    </a>
<?php endif ?>

<?php if ($value) : ?>
    <span>
        <?= $value ?>
    </span>
<?php endif ?>

<div>
    <?php if ($addtag) : ?>
        <?= GedcomTag::getLabel('BIRT') ?>:
    <?php endif ?>
    <?= $date ?>
</div>

<?php if (!$place->isEmpty()) : ?>
    <div>
        <a href="<?= e($place->url()) ?>">
            <?= $place->getFullName() ?>
        </a>
    </div>
<?php endif ?>