aboutsummaryrefslogtreecommitdiff
path: root/app/layout/aside_configure.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-03-14 23:04:17 +0100
committerGravatar GitHub <noreply@github.com> 2022-03-14 23:04:17 +0100
commit6650d1d29ea5e6f895124afce9ed4a6e920a1ed8 (patch)
treee81fc72e0a31d9ceaa1d3a9afeb2f4bc4ad46040 /app/layout/aside_configure.phtml
parent7b962e246bb9f273dda534b340851db799577dfe (diff)
Improved: log page (#4204)
* first draft * wip * Theme Ansum * Update logs_pagination.phtml * Theme Mapco * Update adark.css * Update BlueLagoon.css * Update dark.css * Update screwdriver.css * Theme Swage * Update app/views/helpers/logs_pagination.phtml Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * Update app/views/helpers/logs_pagination.phtml Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * Update template.css * Update logs_pagination.phtml * Update logs_pagination.phtml * Update logs_pagination.phtml * RTL CSS * Update dark.rtl.css * Update swage.css * fix CLI findings * Indentation fixed * icons improved * CSS: centered icons * i18n * pipline test fixes * Update conf.php * Update gen.php * Update app/i18n/fr/conf.php Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/layout/aside_configure.phtml')
-rw-r--r--app/layout/aside_configure.phtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml
index f71419dc1..5f1762834 100644
--- a/app/layout/aside_configure.phtml
+++ b/app/layout/aside_configure.phtml
@@ -33,6 +33,11 @@
<li class="item<?= Minz_Request::controllerName() === 'extension' ? ' active' : '' ?>">
<a href="<?= _url('extension', 'index') ?>"><?= _t('gen.menu.extensions') ?></a>
</li>
+ <?php if (!FreshRSS_Auth::hasAccess('admin')) { ?>
+ <li class="item<?= Minz_Request::actionName() === 'logs' ? ' active' : '' ?>">
+ <a href="<?= _url('index', 'logs') ?>"><?= _t('gen.menu.logs') ?></a>
+ </li>
+ <?php } ?>
<?= Minz_ExtensionManager::callHook('menu_configuration_entry') ?>
<?php if (FreshRSS_Auth::hasAccess('admin')) { ?>
@@ -53,6 +58,9 @@
<li class="item<?= Minz_Request::controllerName() === 'update' && Minz_Request::actionName() === 'index' ? ' active' : '' ?>">
<a href="<?= _url('update', 'index') ?>"><?= _t('gen.menu.update') ?></a>
</li>
+ <li class="item<?= Minz_Request::actionName() === 'logs' ? ' active' : '' ?>">
+ <a href="<?= _url('index', 'logs') ?>"><?= _t('gen.menu.logs') ?></a>
+ </li>
<?php } ?>
<?= Minz_ExtensionManager::callHook('menu_admin_entry') ?>
<?php } ?>