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