summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-12-09 08:57:21 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-09 08:57:21 +0100
commit6b046873daf9822380e6f5c1b54a7a27f85cb38d (patch)
tree64ab50f90b2a3362f955596e6d4894086985759c /app
parent343c7bf3cb6f3c634801d29f1e779b1cb805b638 (diff)
fix global view template (#4043)
Diffstat (limited to 'app')
-rw-r--r--app/views/index/global.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml
index 306c6604b..ce1132df5 100644
--- a/app/views/index/global.phtml
+++ b/app/views/index/global.phtml
@@ -57,7 +57,9 @@
?>
<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>