Skip to content

A free, self-hostable news aggregator…

fix global view template (#4043)

maTh6b046873daf9
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>