xref: /webtrees/resources/views/modules/top10_pageviews/list.phtml (revision b0fcccb03b84c12d54b4ae85014c3af52863d08c)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6<ul class="list-unstyled">
7    <?php foreach ($results as $result) : ?>
8        <li>
9            <span class="badge badge-secondary"><?= I18N::number($result['count']) ?></span>
10            <a href="<?= e($result['record']->url()) ?>">
11                <?= $result['record']->fullName() ?>
12            </a>
13        </li>
14    <?php endforeach ?>
15</ul>
16