Explorar o código

No version number for anonymous users

https://github.com/FreshRSS/FreshRSS/issues/1404
Alexandre Alapetite %!s(int64=9) %!d(string=hai) anos
pai
achega
1736cf00b5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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>