From 948a2664c4d6edc85393b13437360439fbafb3f2 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 25 Feb 2021 12:27:20 +0100 Subject: global-functions: $ScriptInstallUpdate: list news with 'black circle' ... if symbols are enabled. --- global-functions | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/global-functions b/global-functions index 8bb18fd..5f524c7 100644 --- a/global-functions +++ b/global-functions @@ -602,12 +602,14 @@ :global GlobalConfigVersion; :global Identity; :global IDonate; + :global NotificationsWithSymbols; :global ScriptUpdatesBaseUrl; :global ScriptUpdatesFetch; :global ScriptUpdatesUrlSuffix; :global SentConfigChangesNotification; :global CertificateAvailable; + :global IfThenElse; :global LogPrintExit2; :global ParseKeyValueStore; :global ScriptInstallUpdate; @@ -733,7 +735,8 @@ [ :parse $Migration ]; } :set NotificationMessage ($NotificationMessage . \ - "\n * " . $GlobalConfigChanges->[ :tostr $I ]); + "\n " . [ $IfThenElse ($NotificationsWithSymbols = true) ("\E2\97\8F") "*" ] . " " . \ + $GlobalConfigChanges->[ :tostr $I ]); $LogPrintExit2 info $0 ("Change: " . $GlobalConfigChanges->[ :tostr $I ]) false; } :set GlobalConfigChanges; -- cgit v1.2.3-54-g00ecf