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/configure/queries.phtml | 14 +++++++-------
app/views/extension/index.phtml | 15 ++++++++-------
app/views/index/normal.phtml | 15 +++++++++------
app/views/stats/idle.phtml | 14 +++++++-------
app/views/subscription/index.phtml | 17 +++++++++--------
5 files changed, 40 insertions(+), 35 deletions(-)
(limited to 'app/views')
diff --git a/app/views/configure/queries.phtml b/app/views/configure/queries.phtml
index 5cd7656c2..227acc777 100644
--- a/app/views/configure/queries.phtml
+++ b/app/views/configure/queries.phtml
@@ -59,16 +59,16 @@
+
- displaySlider ? ' active' : ''; ?>
-
- = _i('close') ?>
-
-
-
+
diff --git a/app/views/extension/index.phtml b/app/views/extension/index.phtml
index dea2a9977..4c9a58494 100644
--- a/app/views/extension/index.phtml
+++ b/app/views/extension/index.phtml
@@ -77,15 +77,16 @@
- extension) ? ' active' : ''; ?>
-
- = _i('close') ?>
-
-
-
+
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' : ''; ?>
-
- = _i('close') ?>
-
-
-
+
@@ -138,4 +134,11 @@ $today = @strtotime('today');
+displaySlider ? ' active' : ''; ?>
+
+ = _i('close') ?>
+
+
+
0 && FreshRSS_Context::$user_conf->show_nav_buttons) $this->partial('nav_entries'); ?>
diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtml
index c62b5b388..3dc3ab700 100644
--- a/app/views/stats/idle.phtml
+++ b/app/views/stats/idle.phtml
@@ -48,16 +48,16 @@
= _t('admin.stats.no_idle') ?>
+
- displaySlider ? ' active' : ''; ?>
-
- = _i('close') ?>
-
-
-
+
diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml
index e85cd8392..ae842f990 100644
--- a/app/views/subscription/index.phtml
+++ b/app/views/subscription/index.phtml
@@ -25,7 +25,7 @@
= _i('look') ?> = _t('sub.feed.show.error') ?>
-
+
- displaySlider ? ' active' : ''; ?>
-
- = _i('close') ?>
-
-
-
+
--
cgit v1.2.3