diff options
| author | 2013-11-09 00:13:20 +0100 | |
|---|---|---|
| committer | 2013-11-09 00:13:20 +0100 | |
| commit | c237a4dc77fdafc5290a1fd2c50d765a691c35e1 (patch) | |
| tree | 1f4f95c2121c31d20dd9d678d4b70da9c1c4c036 /app/layout | |
| parent | ff37ae8d4996b3147d7469d36b5edce0ed84cd84 (diff) | |
Début d'affichage du nombre de favoris non lus
Mais pas encore de mise à jour dynamique
Corrige en partie
https://github.com/marienfressinaud/FreshRSS/issues/222
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/aside_flux.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 1c1b5559c..e6eb974d2 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -22,9 +22,9 @@ <li> <div class="category favorites"> - <a data-unread="0" class="btn<?php echo $this->get_c == 'favoris' ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index', 'get', 'favoris'); ?>"> + <a data-unread="<?php echo $this->nb_favorites['unread']; ?>" class="btn<?php echo $this->get_c == 'favoris' ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index', 'get', 'favoris'); ?>"> <i class="icon i_bookmark"></i> - <?php echo Translate::t ('favorite_feeds', $this->nb_favorites); ?> + <?php echo Translate::t ('favorite_feeds', $this->nb_favorites['read'] + $this->nb_favorites['unread']); ?> </a> </div> </li> |
