From 34d14bc1ef935bdfc0cd238153c6f5de19b043b6 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 9 Apr 2021 22:23:09 +0200 Subject: [PATCH] stretch: Add obsolete disclaimer on home page --- 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 a55f6b9d..6eda3933 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -227,6 +227,7 @@ "logs_context": "Context", "logs_share_with_yunopaste": "Share with YunoPaste", "logs_more": "Display more lines", + "obsolete_version": "You are running an obsolete version of YunoHost. The YunoHost team highly recommend to run the migration to YunoHost 4.x / Buster available in Tools > Migrations. More information can be found on this page in the documentation", "path_url": "Path", "pending_migrations": "There are some pending migrations waiting to be ran. Please go to the Tools > Migrations view to run them.", "port": "Port", diff --git a/src/views/home.ms b/src/views/home.ms index 526237c2..76d448ea 100644 --- a/src/views/home.ms +++ b/src/views/home.ms @@ -1,3 +1,7 @@ +

+{{t 'obsolete_version' }} +

+