QoL 63: counts in menus, tabs, list headers and the list footer have a thousands separator, as the dashboard, reports and audit log already did

This commit is contained in:
johnnyq
2026-11-21 02:29:20 -05:00
parent 9a58e2b315
commit c094f97eed
51 changed files with 105 additions and 104 deletions

View File

@@ -71,7 +71,7 @@ function activityUrl(array $changes) {
<nav class="itflow-portal-tabs" aria-label="Kinds of activity">
<?php foreach ($tabs as $key => $info) { ?>
<a class="<?= $tab === $key ? 'active' : '' ?>" href="<?= escapeHtml(activityUrl(['tab' => $key !== 'all' ? $key : null])) ?>"><i class="fas <?= $info['icon'] ?>"></i><?= $info['label'] ?> <span class="badge rounded-pill"><?= $counts[$key] ?></span></a>
<a class="<?= $tab === $key ? 'active' : '' ?>" href="<?= escapeHtml(activityUrl(['tab' => $key !== 'all' ? $key : null])) ?>"><i class="fas <?= $info['icon'] ?>"></i><?= $info['label'] ?> <span class="badge rounded-pill"><?= number_format(intval($counts[$key])) ?></span></a>
<?php } ?>
</nav>