xref: /webtrees/resources/views/modules/recent_changes/changes-list.phtml (revision 93ccd68614f026f01c7c92e49f24344e66f17edb)
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->fullName() ?>
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