diff options
Diffstat (limited to 'templates/side_navigation.php')
| -rw-r--r-- | templates/side_navigation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/side_navigation.php b/templates/side_navigation.php index d9a2dfd..9b21833 100644 --- a/templates/side_navigation.php +++ b/templates/side_navigation.php @@ -1,7 +1,7 @@ <ul class="sideNavigation"> <?php foreach ($links as $entry): ?> <li> - <a href="<?= $entry['href'] ?>"> + <a href="<?= $entry['href'] ?>" <?= ($entry['confirmation'] ?? null) ? ('hx-confirm="' . $entry['confirmation'] . '"') : '' ?>> <div class="icon material-symbols-outlined"><?= $entry['icon'] ?></div> <div><?= $entry['label'] ?></div> <?php if (isset($entry['unreadCount']) && $entry['unreadCount'] > 0) { |
