Add current / new versions in update view

This commit is contained in:
Alexandre Aubin 2019-06-07 19:56:17 +02:00
parent 93fd1a4e31
commit 73b009b87b
2 changed files with 3 additions and 1 deletions

View file

@ -153,6 +153,7 @@
"footer_version": "Powered by <a href='https://yunohost.org'>YunoHost</a> %s (%s).", "footer_version": "Powered by <a href='https://yunohost.org'>YunoHost</a> %s (%s).",
"form_input_example": "Example: %s", "form_input_example": "Example: %s",
"free": "Free", "free": "Free",
"from_to": "from %s to %s",
"fs_type": "FS Type", "fs_type": "FS Type",
"gateway": "Gateway: ", "gateway": "Gateway: ",
"good_practices_about_admin_password": "You are now about to define a new admin password. The password should be at least 8 characters - though it is good practice to use longer password (i.e. a passphrase) and/or to use various kind of characters (uppercase, lowercase, digits and special characters).", "good_practices_about_admin_password": "You are now about to define a new admin password. The password should be at least 8 characters - though it is good practice to use longer password (i.e. a passphrase) and/or to use various kind of characters (uppercase, lowercase, digits and special characters).",

View file

@ -14,7 +14,7 @@
{{#system}} {{#system}}
<div class="list-group-item"> <div class="list-group-item">
<h3 class="list-group-item-heading"> <h3 class="list-group-item-heading">
{{name}} <small>{{fullname}}</small> {{name}} <small>({{t 'from_to' current_version new_version}}) </small>
</h3> </h3>
</div> </div>
{{/system}} {{/system}}
@ -39,6 +39,7 @@
<div class="list-group-item clearfix"> <div class="list-group-item clearfix">
<a href="#/upgrade/apps/{{id}}" role="button" class="btn btn-success pull-right">{{t 'system_upgrade_btn'}}</a> <a href="#/upgrade/apps/{{id}}" role="button" class="btn btn-success pull-right">{{t 'system_upgrade_btn'}}</a>
<h3 class="list-group-item-heading">{{label}} <small>{{id}}</small></h3> <h3 class="list-group-item-heading">{{label}} <small>{{id}}</small></h3>
<p class="list-group-item-text">{{t 'from_to' current_version new_version}}</p>
</div> </div>
{{/apps}} {{/apps}}
</div> </div>