mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-07-25 15:08:10 -04:00
Merge pull request #1712 from netalertx/next_release
BE: preheader + typo
This commit is contained in:
@@ -891,7 +891,7 @@
|
||||
"description": [
|
||||
{
|
||||
"language_code": "en_us",
|
||||
"string": "A little hack - delay adding to the queue in case the process is restarted and previous publish processes aborted (it takes ~<code>2</code>s to update a sensor config on the broker). Tested with <code>2</code>-<code>3</code> seconds of delay. This delay is only applied when devices are created (during the first notification loop). It doesn not affect subsequent scans or notifications."
|
||||
"string": "A little hack - delay adding to the queue in case the process is restarted and previous publish processes aborted (it takes ~<code>2</code>s to update a sensor config on the broker). Tested with <code>2</code>-<code>3</code> seconds of delay. This delay is only applied when devices are created (during the first notification loop). It does not affect subsequent scans or notifications."
|
||||
},
|
||||
{
|
||||
"language_code": "es_es",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head></head>
|
||||
<body>
|
||||
<span style="display:none;">PREHEADER</span>
|
||||
<span style="display:none !important;visibility:hidden;mso-hide:all;font-size:1px;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">PREHEADER</span>
|
||||
<font face=sans-serif>
|
||||
<table align=center width=100% cellpadding=0 cellspacing=0 style="border-radius: 5px;">
|
||||
<tr>
|
||||
|
||||
@@ -149,7 +149,8 @@ class NotificationInstance:
|
||||
# Add preheader for inbox preview after all links have been generated.
|
||||
# Invisible padding prevents email clients from showing the start of the email body.
|
||||
preheader = " • ".join(preheaders)
|
||||
padding = " " * 40 + "​" * 40
|
||||
|
||||
padding = (" ‌ " * 47)
|
||||
|
||||
mail_html = mail_html.replace(
|
||||
"PREHEADER",
|
||||
|
||||
Reference in New Issue
Block a user