diff options
| author | 2013-03-14 18:04:45 +0100 | |
|---|---|---|
| committer | 2013-03-14 18:04:45 +0100 | |
| commit | 6fc16ed8a307cb95ef9e60f2e3e781b4734cabfd (patch) | |
| tree | 77274ba7ab1d25c3d74caafeeed76404f0490650 /app/layout/aside_flux.phtml | |
| parent | 87e07e66c97200445253070ed607a3a5bebad0ae (diff) | |
Meilleur affichage page d'erreur + on n'affiche plus une catégorie si aucun flux n'en fait partie
Diffstat (limited to 'app/layout/aside_flux.phtml')
| -rw-r--r-- | app/layout/aside_flux.phtml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 9403a0445..f6d8b3887 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -21,6 +21,7 @@ <?php foreach ($this->cat_aside as $cat) { ?> <?php $feeds = $cat->feeds (); $catNotRead = $cat->nbNotRead (); ?> + <?php if (!empty ($feeds)) { ?> <li> <a class="btn category<?php echo $this->get == $cat->id () ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index', 'get', 'c_' . $cat->id ()); ?>"> <?php echo $cat->name (); ?> @@ -31,7 +32,7 @@ <ul class="feeds"> <?php foreach ($feeds as $feed) { ?> <li> - <a class="website" href="<?php echo $feed->website(); ?>"><i class="icon link"></i></a> + <a class="website" href="<?php echo _url ('configure', 'feed', 'id', $feed->id ()); ?>"><i class="icon configure"></i></a> <img src="http://www.google.com/s2/favicons?domain=<?php echo get_domain ($feed->website ()); ?>" alt="" /> <a class="feed" href="<?php echo _url ('index', 'index', 'get', 'f_' . $feed->id ()); ?>"> <?php echo $feed->name(); ?> @@ -41,6 +42,6 @@ </ul> <?php } ?> </li> - <?php } ?> + <?php } } ?> </ul> </div> |
