Merge pull request #184 from YunoHost/stretch-is-obsolete

stretch: Add obsolete disclaimer on user portal
This commit is contained in:
Alexandre Aubin 2021-04-24 17:35:16 +02:00 committed by GitHub
commit 0c8d0e2f14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -30,6 +30,7 @@
"good_practices_about_user_password": "Pick a user password of at least 8 characters - though it is good practice to use longer ones (i.e. a passphrase) and/or use various kind of characters (uppercase, lowercase, digits and special characters).", "good_practices_about_user_password": "Pick a user password of at least 8 characters - though it is good practice to use longer ones (i.e. a passphrase) and/or use various kind of characters (uppercase, lowercase, digits and special characters).",
"wrong_current_password": "The current password is wrong", "wrong_current_password": "The current password is wrong",
"invalid_mail": "Invalid e-mail address", "invalid_mail": "Invalid e-mail address",
"obsolete_version": "The version of YunoHost running on this server is obsolete and should be upgraded to YunoHost 4.x / Buster. Please contact your administrator about this.",
"invalid_domain": "Invalid domain in", "invalid_domain": "Invalid domain in",
"invalid_mailforward": "Invalid e-mail forwarding address", "invalid_mailforward": "Invalid e-mail forwarding address",
"mail_already_used": "E-mail address already in use", "mail_already_used": "E-mail address already in use",

View file

@ -1,3 +1,5 @@
<div class="wrapper messages warning">{{t_obsolete_version}}</div>
<div class="ynh-wrapper user"> <div class="ynh-wrapper user">
<ul class="user-menu"> <ul class="user-menu">
<li><a id="ynh-logout" class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li> <li><a id="ynh-logout" class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>