Ver Fonte

No version number for anonymous users

https://github.com/FreshRSS/FreshRSS/issues/1404
Alexandre Alapetite há 9 anos atrás
pai
commit
1736cf00b5
1 ficheiros alterados com 2 adições e 0 exclusões
  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>