Show current version of FRSS on the update page

See https://github.com/FreshRSS/FreshRSS/issues/699
This commit is contained in:
Marien Fressinaud
2015-01-13 11:32:29 +01:00
parent 2d1cb016ab
commit 0cba8dd691
3 changed files with 7 additions and 1 deletions

View File

@@ -144,6 +144,7 @@ return array(
'_' => 'Update system',
'apply' => 'Apply',
'check' => 'Check for new updates',
'current_version' => 'Your current version of FreshRSS is the %s.',
'last' => 'Last verification: %s',
'none' => 'No update to apply',
'title' => 'Update system',

View File

@@ -144,6 +144,7 @@ return array(
'_' => 'Système de mise à jour',
'apply' => 'Appliquer la mise à jour',
'check' => 'Vérifier les mises à jour',
'current_version' => 'Votre version actuelle de FreshRSS est la %s.',
'last' => 'Dernière vérification : %s',
'none' => 'Aucune mise à jour à appliquer',
'title' => 'Système de mise à jour',

View File

@@ -6,7 +6,11 @@
<h1><?php echo _t('admin.update'); ?></h1>
<p>
<?php echo _i('help'); ?> <?php echo _t('admin.update.last', $this->last_update_time); ?>
<?php echo _i('help'); ?> <?php echo _t('admin.update.current_version', FRESHRSS_VERSION); ?>
</p>
<p>
<?php echo _t('admin.update.last', $this->last_update_time); ?>
</p>
<?php if (!empty($this->message)) { ?>