Sfoglia il codice sorgente

No version number for anonymous users

https://github.com/FreshRSS/FreshRSS/issues/1404
Alexandre Alapetite 9 anni fa
parent
commit
1736cf00b5
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      app/views/index/about.phtml

+ 2 - 0
app/views/index/about.phtml

@@ -13,8 +13,10 @@
 		<dt><?php echo _t('index.about.license'); ?></dt>
 		<dd><?php echo _t('index.about.agpl3'); ?></dd>
 
+		<?php if (FreshRSS_Auth::hasAccess()): ?>
 		<dt><?php echo _t('index.about.version'); ?></dt>
 		<dd><?php echo FRESHRSS_VERSION; ?></dd>
+		<?php endif; ?>
 	</dl>
 
 	<p><?php echo _t('index.about.freshrss_description'); ?></p>