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

@@ -282,7 +282,7 @@ $pill_url = function ($view) use ($on_days) {
<?php foreach ($views as $view_key => $view) {
if ($view_key === 'days') { ?><span class="vr mx-1 my-1"></span><?php } ?>
<a class="nav-link text-nowrap <?= $show === (string) $view_key ? 'active' : '' ?>" href="<?= escapeHtml($pill_url($view_key)) ?>" title="<?= escapeHtml($view['title']) ?>" data-sla-view="<?= $view_key ?>">
<i class="fas fa-fw <?= $view['icon'] ?> me-1"></i><?= $view['label'] ?> <span class="badge rounded-pill ms-1"><?= $view_counts[$view_key] ?></span>
<i class="fas fa-fw <?= $view['icon'] ?> me-1"></i><?= $view['label'] ?> <span class="badge rounded-pill ms-1"><?= number_format(intval($view_counts[$view_key])) ?></span>
</a>
<?php } ?>
</nav>