A free, self-hostable news aggregator…
Normal view: improve feed filter link (#4006)
maTh3938492b8a01
diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtmlindex 79e6e4215..6968bae85 100644--- a/app/views/helpers/index/normal/entry_header.phtml+++ b/app/views/helpers/index/normal/entry_header.phtml@@ -31,9 +31,10 @@?></li><?php}}- ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>" title="<?= _t('gen.action.filter') ?>">- <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" loading="lazy" /><?php endif; ?>- <span><?= $this->feed->name() ?></span></a>+ ?><li class="item website">+ <a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>" title="<?= _t('gen.action.filter') ?>: <?= $this->feed->name() ?>">+ <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" loading="lazy" /><?php endif; ?><span><?= $this->feed->name() ?></span>+ </a></li><?phpdiff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtmlindex eb388fad3..3909083e9 100644--- a/app/views/index/normal.phtml+++ b/app/views/index/normal.phtml@@ -74,7 +74,7 @@ $today = @strtotime('today');<div class="content <?= $content_width ?>"><h1 class="title"><a target="_blank" rel="noreferrer" class="go_website" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?></a></h1><div class="subtitle">- <div class="website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>">+ <div class="website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>" title="<?= _t('gen.action.filter') ?>: <?= $this->feed->name() ?>"><?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" loading="lazy" /><?php endif; ?>diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.cssindex 9884fdcbd..c6008e1bc 100644--- a/p/themes/base-theme/template.css+++ b/p/themes/base-theme/template.css@@ -764,6 +764,12 @@ input[type="search"] {.flux .item.website {width: 200px;+ padding-right: 10px;+}++.website a:hover .favicon,+a.website:hover .favicon {+ filter: grayscale(100%);}.flux.not_read .item.title,@@ -855,7 +861,6 @@ input[type="search"] {.flux .item > a {display: block;- text-decoration: none;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.cssindex 07cc25e83..a8a817a71 100644--- a/p/themes/base-theme/template.rtl.css+++ b/p/themes/base-theme/template.rtl.css@@ -764,6 +764,12 @@ input[type="search"] {.flux .item.website {width: 200px;+ padding-left: 10px;+}++.website a:hover .favicon,+a.website:hover .favicon {+ filter: grayscale(100%);}.flux.not_read .item.title,@@ -855,7 +861,6 @@ input[type="search"] {.flux .item > a {display: block;- text-decoration: none;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;