aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-09 18:46:22 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-09 18:46:22 +0200
commit2b25aa8f68dccf7001b965fc6c08c3a794ec6b04 (patch)
tree26ccb95906f9beaff6e9a0fb1b066345fea41ee7 /app/layout
parentc81be3c20aab4eb1773a0acd99d4aa5a9e30c4d6 (diff)
Option to hide (or not) feeds/categories with no unread article
https://github.com/marienfressinaud/FreshRSS/issues/430 https://github.com/marienfressinaud/FreshRSS/issues/575
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/aside_flux.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml
index cc04e757c..aee8f8754 100644
--- a/app/layout/aside_flux.phtml
+++ b/app/layout/aside_flux.phtml
@@ -1,4 +1,4 @@
-<div class="aside aside_flux<?php if (($this->state & FreshRSS_Entry::STATE_NOT_READ) && !($this->state & FreshRSS_Entry::STATE_READ)) echo ' state_unread'; ?>" id="aside_flux">
+<div class="aside aside_flux<?php if ($this->conf->hide_read_feeds && ($this->state & FreshRSS_Entry::STATE_NOT_READ) && !($this->state & FreshRSS_Entry::STATE_READ)) echo ' state_unread'; ?>" id="aside_flux">
<a class="toggle_aside" href="#close"><?php echo FreshRSS_Themes::icon('close'); ?></a>
<ul class="categories">