From 69fba306a6efe918b6d9cd0ee4ee1135e8cde0ed Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 18 Dec 2018 16:15:29 +0100 Subject: [PATCH] Add a warning on home page about YunoHost's version being obsolete (#219) --- src/locales/en.json | 1 + src/views/home.ms | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/locales/en.json b/src/locales/en.json index 0f610adb..fc21a0a4 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -224,6 +224,7 @@ "passwords_dont_match": "Passwords don't match", "passwords_too_short": "Password is too short", "path": "Path", + "obsolete_version": "You are running an obsolete version of YunoHost. The YunoHost team highly recommend to run the migration to YunoHost 3.x / Stretch available in Tools > Migrations. More information can be found on this page in the documentation", "path_url": "Path", "port": "Port", "ports": "Ports", diff --git a/src/views/home.ms b/src/views/home.ms index 2206cb28..f00a3f5e 100644 --- a/src/views/home.ms +++ b/src/views/home.ms @@ -1,3 +1,7 @@ +

+{{t 'obsolete_version' }} +

+