aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-02-06 14:50:29 +0100
committerGravatar GitHub <noreply@github.com> 2017-02-06 14:50:29 +0100
commitac42e7eae0f08491b40d17e8fd5687e902c005c8 (patch)
treea4552ff59646b730fe6e50a5a3e7cc8afe310dd4
parentb3f4bad62e58da9e23afccde02f1e8f11d892ede (diff)
parent1736cf00b5d0286c233de8de446848d0e613a94e (diff)
Merge pull request #1419 from Alkarex/no-version-anonymous
No version number for anonymous users
-rw-r--r--app/views/index/about.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml
index 3fdb5160d..649729952 100644
--- a/app/views/index/about.phtml
+++ b/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>