From cc3518e80dfe8f22641e2daf4db765b7caf4e1aa Mon Sep 17 00:00:00 2001 From: Krakinou Date: Fri, 26 Jan 2024 01:07:38 +0100 Subject: [PATCH] Fix Update message Patch --- ...index.html.patch => main-index.html.patch} | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) rename sources/patches/{app-index.html.patch => main-index.html.patch} (69%) diff --git a/sources/patches/app-index.html.patch b/sources/patches/main-index.html.patch similarity index 69% rename from sources/patches/app-index.html.patch rename to sources/patches/main-index.html.patch index f23c0cc..eb1b85e 100644 --- a/sources/patches/app-index.html.patch +++ b/sources/patches/main-index.html.patch @@ -1,26 +1,25 @@ ---- a/www/index.html 2023-02-26 22:22:14.971932399 +0100 -+++ b/www/index.html 2023-02-26 22:27:12.926431427 +0100 -@@ -170,14 +170,15 @@ +--- a/www/index.html 2024-01-24 12:00:41.000000000 +0100 ++++ b/www/index.html 2024-01-26 00:56:22.766868427 +0100 +@@ -154,13 +154,14 @@ } function ShowUpdateNotification(Revision, SystemName, DownloadURL) { - var msgtxt=$.t('A new version of Domoticz is Available!...'); + -+ var msgtxt=$.t('A new version of Domoticz is Available, please wait for the Yunohost Package!...'); ++ var msgtxt=$.t('A new version of Domoticz is Available, please wait for the YunoHost Package!...'); msgtxt+='
' + $.t('Version') + ': ' + Revision + ', ' + $.t('Latest Changes') + ': ' + $.t('Click Here') + ''; -- if (SystemName=="windows") { -+ } else { - msgtxt+='
' + $.t('Update Now') + '
'; -- } -+ }--> +- msgtxt+='
' + $.t('Update Now') + '
'; ++ + } generate_noty('success', msgtxt, false); } - -@@ -1330,8 +1331,8 @@ -
  • Devices
  • +@@ -1264,8 +1265,8 @@ +
  • Users
  • Settings
  • -
  • Update Domoticz