aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-01-22 12:23:23 +0100
committerGravatar GitHub <noreply@github.com> 2024-01-22 12:23:23 +0100
commit415490dd7c066ae87e90479df67c6ad09ac2a481 (patch)
tree4d0a64bdf5ac7aeacf49d093d4b6edddf3a9b9f9 /app/layout
parent96729057112c98d5911f85e201846fd9676b1324 (diff)
Fix: left hand side navigation of TOS item when selected (#6055)
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/aside_configure.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml
index 729b61f5c..4d4571c4e 100644
--- a/app/layout/aside_configure.phtml
+++ b/app/layout/aside_configure.phtml
@@ -88,7 +88,7 @@
<a href="<?= _url('index', 'about') ?>"><?= _t('gen.menu.about') ?></a>
</li>
<?php if (file_exists(TOS_FILENAME)) { ?>
- <li class="item">
+ <li class="item<?= Minz_Request::actionName() === 'tos' ? ' active' : '' ?>">
<a href="<?= _url('index', 'tos') ?>"><?= _t('index.tos.title')?></a>
</li>
<?php } ?>