xref: /webtrees/resources/views/modules/recent_changes/changes-list.phtml (revision ad7270802ba57a28d195fc58fcc55f26458a779a)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<?php foreach ($records as $record) : ?>
4    <a href="<?= e($record->url()) ?>" class="list_item name2">
5        <?= $record->getFullName() ?>
6    </a>
7    <div class="indent mb-1">
8        <?php if ($record->lastChangeTimestamp() !== '') : ?>
9            <?php if ($show_user) : ?>
10                <?= /* I18N: [a record was] Changed on <date/time> by <user> */I18N::translate('Changed on %1$s by %2$s', $record->lastChangeTimestamp(), e($record->lastChangeUser())) ?>
11            <?php else : ?>
12                <?= /* I18N: [a record was] Changed on <date/time> */ I18N::translate('Changed on %1$s', $record->lastChangeTimestamp()) ?>
13            <?php endif ?>
14        <?php endif ?>
15    </div>
16<?php endforeach ?>
17