aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-11-07 23:02:41 +0100
committerGravatar GitHub <noreply@github.com> 2023-11-07 23:02:41 +0100
commit00ae423924293a13705bc156c783867315c26a1e (patch)
tree53d4e16c3427bcfaeae8aa09896bb717eda84d74 /app/views
parente6c50549222870dc498f3f5b34d67c5fb75f22b1 (diff)
Do not show message Add some feeds (#5827)
* Do not show message Add some feeds I found this message misleading, as a view is most of the time empty due to a filter, not due to a lack of feeds. * Remove i18n
Diffstat (limited to 'app/views')
-rw-r--r--app/views/index/global.phtml3
-rw-r--r--app/views/index/normal.phtml3
-rw-r--r--app/views/index/reader.phtml3
3 files changed, 0 insertions, 9 deletions
diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml
index 1a307b513..6e3b2378b 100644
--- a/app/views/index/global.phtml
+++ b/app/views/index/global.phtml
@@ -76,9 +76,6 @@
?>
<div id="noArticlesToShow" class="prompt alert alert-warn">
<h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>
- <?php if (FreshRSS_Auth::hasAccess()) { ?>
- <p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>
- <?php } ?>
</div>
<?php } ?>
</main>
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index ede772a78..c99cf07e7 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -253,9 +253,6 @@ $today = @strtotime('today');
</div>
<div class="prompt alert alert-warn">
<h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>
- <?php if (FreshRSS_Auth::hasAccess()) { ?>
- <p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>
- <?php } ?>
</div>
</main>
<?php endif; ?>
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index 221c92496..af5caccdc 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -225,9 +225,6 @@ $MAX_TAGS_DISPLAYED = FreshRSS_Context::$user_conf->show_tags_max;
</div>
<div class="prompt alert alert-warn">
<h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>
- <?php if (FreshRSS_Auth::hasAccess()) { ?>
- <p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>
- <?php } ?>
</div>
</main>
<?php endif; ?>