diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.listfeed.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index 6e988f4df..530ab3ba8 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -10,7 +10,8 @@ if ($favicon == null) { } echo '<li class="feed" data-id="' . $child->getId() . '">'; -echo '<a href="#" style="background: url(' . $favicon . ') left center no-repeat; background-size:16px 16px;">' . $child->getTitle() .'</a>'; +echo '<a href="#" style="background: url(' . $favicon . ') left center no-repeat; background-size:16px 16px;" class="' . + (($unreadItems > 0) ? 'nonzero' : 'zero') . '">' . $child->getTitle() .'</a>'; if ($unreadItems > 0) { echo '<span class="unreaditemcounter nonzero">' . $unreadItems . '</span>'; } |