A free, self-hostable news aggregator…
Add navigation to about page (#3804)
maTh595979d97fee
diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtmlindex f8633621f..4da160d92 100644--- a/app/layout/aside_configure.phtml+++ b/app/layout/aside_configure.phtml@@ -48,5 +48,9 @@<?php } ?><?= Minz_ExtensionManager::callHook('menu_admin_entry') ?><?php } ?>+ <li class="nav-header"><!-- empty headline --></li>+ <li class="item<?= Minz_Request::actionName() === 'about' ? ' active' : '' ?>">+ <a href="<?= _url('index', 'about') ?>"><?= _t('gen.menu.about') ?></a>+ </li></ul></nav>diff --git a/app/views/index/about.phtml b/app/views/index/about.phtmlindex db55cfbc8..699191b6e 100644--- a/app/views/index/about.phtml+++ b/app/views/index/about.phtml@@ -1,3 +1,7 @@+<?php if (FreshRSS_Auth::hasAccess()) {?>+<?php $this->partial('aside_configure'); ?>+<?php } ?>+<div class="post content"><?php if (FreshRSS_Auth::hasAccess()) {?><div class="link-back-wrapper">