aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/index/normal
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/views/helpers/index/normal
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/views/helpers/index/normal')
-rw-r--r--app/views/helpers/index/normal/entry_header.phtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml
index 2bc51e54c..3b8aafbb2 100644
--- a/app/views/helpers/index/normal/entry_header.phtml
+++ b/app/views/helpers/index/normal/entry_header.phtml
@@ -27,7 +27,9 @@
?></li><?php
}
}
- ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>"><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" /> <span><?= $this->feed->name() ?></span></a></li>
+ ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>">
+ <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" /><?php endif; ?>
+ <span><?= $this->feed->name() ?></span></a></li>
<li class="item title" dir="auto"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?><?php
if ($topline_display_authors):
?><span class="author"><?php