From 944b2f58649835dbc6abe83bab6d4500dd046fd8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 21 Apr 2023 00:05:46 +0200 Subject: daily-psk: use $FormatLine --- daily-psk.template.rsc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'daily-psk.template.rsc') diff --git a/daily-psk.template.rsc b/daily-psk.template.rsc index 7e41a1f..5f30ce3 100644 --- a/daily-psk.template.rsc +++ b/daily-psk.template.rsc @@ -18,6 +18,7 @@ :global DailyPskQrCodeUrl; :global Identity; +:global FormatLine; :global LogPrintExit2; :global SendNotification2; :global SymbolForNotification; @@ -93,9 +94,9 @@ $WaitFullyConnected; $SendNotification2 ({ origin=$0; \ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \ message=("This is the daily PSK on " . $Identity . ":\n\n" . \ - "SSID: " . $Ssid . "\n" . \ - "PSK: " . $NewPsk . "\n" . \ - "Date: " . $Date . "\n\n" . \ + [ $FormatLine "SSID" $Ssid ] . "\n" . \ + [ $FormatLine "PSK" $NewPsk ] . "\n" . \ + [ $FormatLine "Date" $Date ] . "\n\n" . \ "A client device specific rule must not exist!"); link=$Link }); } } -- cgit v1.2.3-54-g00ecf