summaryrefslogtreecommitdiff
path: root/app/layout/aside_feed.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-03-09 20:36:24 +0100
committerGravatar GitHub <noreply@github.com> 2020-03-09 20:36:24 +0100
commit942103092545e0bd90802cccd4eab303ef172158 (patch)
tree1ed52d84ca5be2e32312c6251e6385987d89e223 /app/layout/aside_feed.phtml
parent51edbc1578fe49b281b39d91451d2b9df0092028 (diff)
Option to show/hide favicons (#2821)
* Option to show/hide favicons #fix https://github.com/FreshRSS/FreshRSS/issues/2819 * Also for subscription list
Diffstat (limited to 'app/layout/aside_feed.phtml')
-rw-r--r--app/layout/aside_feed.phtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index cdc8b8e16..4c01b4694 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -94,7 +94,8 @@
<a class="dropdown-toggle" data-fweb="<?= $feed->website() ?>"><?= _i('configure') ?></a>
<?php /* feed_config_template */ ?>
</div>
- <img class="favicon" src="<?= $feed->favicon() ?>" alt="✇" /> <a class="item-title" data-unread="<?= format_number($feed->nbNotRead()) ?>" href="<?= _url('index', $actual_view, 'get', 'f_' . $feed->id()) ?>"><?= $feed->name() ?></a>
+ <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $feed->favicon() ?>" alt="✇" /><?php endif; ?>
+ <a class="item-title" data-unread="<?= format_number($feed->nbNotRead()) ?>" href="<?= _url('index', $actual_view, 'get', 'f_' . $feed->id()) ?>"><?= $feed->name() ?></a>
</li>
<?php } ?>
</ul>