aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
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>