From 0fc006096612174821db901840dabd20190074e2 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 17 May 2022 23:31:24 +0200 Subject: Fix slider when no article (#4375) * Fix slider when no article #fix https://github.com/FreshRSS/FreshRSS/issues/4373 https://github.com/FreshRSS/FreshRSS/pull/4291 * Use aside * Forgotten Co-authored-by: maTh --- app/views/index/normal.phtml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'app/views/index') diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index 555582c5f..562a1ef00 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -116,12 +116,8 @@ $today = @strtotime('today'); if ($nbEntries > 0): call_user_func($this->callbackBeforePagination, $this, $nbEntries, $lastEntry); $this->renderHelper('stream-footer'); -?>displaySlider ? ' active' : ''; ?> - - - -
-
+ @@ -138,4 +134,11 @@ $today = @strtotime('today'); +displaySlider ? ' active' : ''; ?> + + + + + 0 && FreshRSS_Context::$user_conf->show_nav_buttons) $this->partial('nav_entries'); ?> -- cgit v1.2.3