aboutsummaryrefslogtreecommitdiff
path: root/app/layout/aside_feed.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-03-22 23:09:50 +0100
committerGravatar GitHub <noreply@github.com> 2022-03-22 23:09:50 +0100
commit7d00ad8ed75cae5dafd4ac1f2cc6e15e94333628 (patch)
treeea523dba448e8d1760e50e166bdc0a3881609120 /app/layout/aside_feed.phtml
parenteabe95e28cccb921d4874ae7210bb2bf38b68e4d (diff)
Improve: manage feed in view within a slider (#4226)
* it works * small improvements * Update slider.js * fixed JS syntax * slider.js included in main.js * fix syntax * delete including of slider.js * Update extra.js
Diffstat (limited to 'app/layout/aside_feed.phtml')
-rw-r--r--app/layout/aside_feed.phtml10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index bb03bdfc6..10dc8e724 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -141,7 +141,15 @@
<li class="item"><a target="_blank" rel="noreferrer" href="http://example.net/"><?= _t('gen.action.see_website') ?></a></li>
<?php if (FreshRSS_Auth::hasAccess()) { ?>
<li class="separator"></li>
- <li class="item"><a href="<?= _url('subscription', 'index', 'id', '------') ?>"><?= _t('gen.action.manage') ?></a></li>
+ <?php
+ $get = Minz_Request::param('get');
+ if (!$get) {
+ $url = _url('subscription', 'feed', 'id', '------', 'from', $actual_view);
+ } else {
+ $url = _url('subscription', 'feed', 'id', '------', 'get', $get, 'from', $actual_view);
+ }
+ ?>
+ <li class="item"><a class="configure open-slider" href="<?= $url ?>"><?= _t('gen.action.manage') ?></a></li>
<li class="item"><a href="<?= _url('feed', 'actualize', 'id', '------') ?>"><?= _t('gen.action.actualize') ?></a></li>
<li class="item">
<?php $confirm = FreshRSS_Context::$user_conf->reading_confirm ? 'confirm" disabled="disabled' : ''; ?>