From 8c18dc16a9ec15715da5f0f8c2529d1a292a97c2 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 3 Dec 2023 11:35:36 +0100 Subject: Allow reas-as-scroll in important view (#5906) And within a single feed See https://github.com/FreshRSS/FreshRSS/pull/5782#issuecomment-1810065152 --- app/views/index/normal.phtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index feda1466f..0d484f518 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -15,6 +15,7 @@ $hidePosts = !FreshRSS_Context::$user_conf->display_posts; $lazyload = FreshRSS_Context::$user_conf->lazyload; $content_width = FreshRSS_Context::$user_conf->content_width; $MAX_TAGS_DISPLAYED = FreshRSS_Context::$user_conf->show_tags_max; +$useKeepUnreadImportant = !FreshRSS_Context::isImportant() && !FreshRSS_Context::isFeed(); $today = @strtotime('today'); ?> @@ -67,7 +68,7 @@ $today = @strtotime('today'); } ?>