Просмотр исходного кода

No version number for anonymous users

https://github.com/FreshRSS/FreshRSS/issues/1404
Alexandre Alapetite 9 лет назад
Родитель
Сommit
1736cf00b5
1 измененных файлов с 2 добавлено и 0 удалено
  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>