mirror of
https://github.com/itflow-org/itflow
synced 2026-11-30 16:19:00 +00:00
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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user