daily-psk: decrease indention in notification

This commit is contained in:
Christian Hesse 2024-05-15 15:51:34 +02:00
parent ca7a592dfd
commit 169c1ab6e1
4 changed files with 12 additions and 12 deletions

View file

@ -81,9 +81,9 @@
$SendNotification2 ({ origin=$ScriptName; \ $SendNotification2 ({ origin=$ScriptName; \
subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \
message=("This is the daily PSK on " . $Identity . ":\n\n" . \ message=("This is the daily PSK on " . $Identity . ":\n\n" . \
[ $FormatLine "SSID" $Ssid ] . "\n" . \ [ $FormatLine "SSID" $Ssid 8 ] . "\n" . \
[ $FormatLine "PSK" $NewPsk ] . "\n" . \ [ $FormatLine "PSK" $NewPsk 8 ] . "\n" . \
[ $FormatLine "Date" $Date ] . "\n\n" . \ [ $FormatLine "Date" $Date 8 ] . "\n\n" . \
"A client device specific rule must not exist!"); link=$Link }); "A client device specific rule must not exist!"); link=$Link });
:set ($Seen->$Ssid) 1; :set ($Seen->$Ssid) 1;
} }

View file

@ -80,9 +80,9 @@
$SendNotification2 ({ origin=$ScriptName; \ $SendNotification2 ({ origin=$ScriptName; \
subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \
message=("This is the daily PSK on " . $Identity . ":\n\n" . \ message=("This is the daily PSK on " . $Identity . ":\n\n" . \
[ $FormatLine "SSID" $Ssid ] . "\n" . \ [ $FormatLine "SSID" $Ssid 8 ] . "\n" . \
[ $FormatLine "PSK" $NewPsk ] . "\n" . \ [ $FormatLine "PSK" $NewPsk 8 ] . "\n" . \
[ $FormatLine "Date" $Date ] . "\n\n" . \ [ $FormatLine "Date" $Date 8 ] . "\n\n" . \
"A client device specific rule must not exist!"); link=$Link }); "A client device specific rule must not exist!"); link=$Link });
:set ($Seen->$Ssid) 1; :set ($Seen->$Ssid) 1;
} }

View file

@ -96,9 +96,9 @@
$SendNotification2 ({ origin=$ScriptName; \ $SendNotification2 ({ origin=$ScriptName; \
subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \
message=("This is the daily PSK on " . $Identity . ":\n\n" . \ message=("This is the daily PSK on " . $Identity . ":\n\n" . \
[ $FormatLine "SSID" $Ssid ] . "\n" . \ [ $FormatLine "SSID" $Ssid 8 ] . "\n" . \
[ $FormatLine "PSK" $NewPsk ] . "\n" . \ [ $FormatLine "PSK" $NewPsk 8 ] . "\n" . \
[ $FormatLine "Date" $Date ] . "\n\n" . \ [ $FormatLine "Date" $Date 8 ] . "\n\n" . \
"A client device specific rule must not exist!"); link=$Link }); "A client device specific rule must not exist!"); link=$Link });
:set ($Seen->$Ssid) 1; :set ($Seen->$Ssid) 1;
} }

View file

@ -81,9 +81,9 @@
$SendNotification2 ({ origin=$ScriptName; \ $SendNotification2 ({ origin=$ScriptName; \
subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \
message=("This is the daily PSK on " . $Identity . ":\n\n" . \ message=("This is the daily PSK on " . $Identity . ":\n\n" . \
[ $FormatLine "SSID" $Ssid ] . "\n" . \ [ $FormatLine "SSID" $Ssid 8 ] . "\n" . \
[ $FormatLine "PSK" $NewPsk ] . "\n" . \ [ $FormatLine "PSK" $NewPsk 8 ] . "\n" . \
[ $FormatLine "Date" $Date ] . "\n\n" . \ [ $FormatLine "Date" $Date 8 ] . "\n\n" . \
"A client device specific rule must not exist!"); link=$Link }); "A client device specific rule must not exist!"); link=$Link });
:set ($Seen->$Ssid) 1; :set ($Seen->$Ssid) 1;
} }