From d19824b919289ad63743f27da7861f2422da5baa Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 26 Jul 2014 13:56:44 +0200 Subject: Hide read feeds and read categories when in unread mode https://github.com/marienfressinaud/FreshRSS/issues/430 There are some repeated HTML attributes (`data-unread` and `active`) which could maybe be simplified. If some people do not like this behaviour, we could consider having an option. --- app/layout/aside_flux.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 817dae676..7eebc569b 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -1,4 +1,4 @@ -
+
    @@ -41,11 +41,11 @@ foreach ($this->cat_aside as $cat) { $feeds = $cat->feeds (); if (!empty ($feeds)) { - ?>
  • get_c == $cat->id ()) { $c_active = true; } + ?>
  • >
    name (); ?>id (); $nbEntries = $feed->nbEntries (); $f_active = ($this->get_f == $feed_id); - ?>