aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/reader.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-11-04 12:49:21 +0100
committerGravatar GitHub <noreply@github.com> 2025-11-04 12:49:21 +0100
commitb6c63d223931382aae84dc6d394cdd1bb58121bc (patch)
treef512ea0f11873f89740cb7692442d11b26d59ee3 /app/views/index/reader.phtml
parent7d4854a0a4f5665db599f18c34035786465639f3 (diff)
Better transitions between groups of articles (#8174)
fix https://github.com/FreshRSS/FreshRSS/issues/7520 fix https://github.com/FreshRSS/FreshRSS/issues/8168 fix https://github.com/FreshRSS/FreshRSS/discussions/8172
Diffstat (limited to 'app/views/index/reader.phtml')
-rw-r--r--app/views/index/reader.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index 49321f9f5..d76af2dc7 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -31,6 +31,7 @@ $useKeepUnreadImportant = !FreshRSS_Context::isImportant() && !FreshRSS_Context:
//We most likely already have the feed object in cache, otherwise make a request
$this->feed = FreshRSS_Category::findFeed($this->categories, $this->entry->feedId()) ?? $this->entry->feed() ?? FreshRSS_Feed::default();
+ $this->entry->_feed($this->feed);
?><div class="flux<?= !$this->entry->isRead() ? ' not_read' : ''
?><?= $this->entry->isFavorite() ? ' favorite' : ''
?><?= $useKeepUnreadImportant && ($this->feed->priority() >= FreshRSS_Feed::PRIORITY_IMPORTANT) ? ' keep_unread ' : ''