aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/reader.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-12-07 23:20:58 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-07 23:20:58 +0100
commit343c7bf3cb6f3c634801d29f1e779b1cb805b638 (patch)
treee571f32dcc16f1d975f39724236c4934fd2abbb2 /app/views/index/reader.phtml
parent1d624d041fb12162eaae3a428e8eca57dc91d50a (diff)
fix normal and reader view (#4040)
Diffstat (limited to 'app/views/index/reader.phtml')
-rw-r--r--app/views/index/reader.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index 0e9fb4b3e..6b68ea08f 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -84,7 +84,9 @@ $content_width = FreshRSS_Context::$user_conf->content_width;
</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; ?>