Bläddra i källkod

fix global view template (#4043)

maTh 4 år sedan
förälder
incheckning
6b046873da
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      app/views/index/global.phtml

+ 2 - 0
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>