Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enh] Add current / new versions in update view #252

Merged
merged 1 commit into from Jun 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/locales/en.json
Expand Up @@ -153,6 +153,7 @@
"footer_version": "Powered by <a href='https://yunohost.org'>YunoHost</a> %s (%s).",
"form_input_example": "Example: %s",
"free": "Free",
"from_to": "from %s to %s",
"fs_type": "FS Type",
"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).",
Expand Down
3 changes: 2 additions & 1 deletion src/views/update/update.ms
Expand Up @@ -14,7 +14,7 @@
{{#system}}
<div class="list-group-item">
<h3 class="list-group-item-heading">
{{name}} <small>{{fullname}}</small>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fullname was empty? I don't see it in the dict of the other PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh yeah idk, that info disappeared at some point, as far as I remember it wasn't relevant because always empty or equal to name ...

{{name}} <small>({{t 'from_to' current_version new_version}}) </small>
</h3>
</div>
{{/system}}
Expand All @@ -39,6 +39,7 @@
<div class="list-group-item clearfix">
<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>
<p class="list-group-item-text">{{t 'from_to' current_version new_version}}</p>
</div>
{{/apps}}
</div>
Expand Down