mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-30 11:26:23 +00:00
Update notification service
This commit is contained in:
@@ -603,7 +603,7 @@ class EmailChannel(NotificationChannel):
|
|||||||
<div style="max-width:640px;margin:24px auto;background:#ffffff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.1);border:1px solid #d1d5db;">
|
<div style="max-width:640px;margin:24px auto;background:#ffffff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.1);border:1px solid #d1d5db;">
|
||||||
|
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div style="padding:20px 28px;border-bottom:2px solid #1f2937;">
|
<div style="padding:20px 28px;background:#f8f9fa;border-bottom:1px solid {sev['border']};">
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -1780,7 +1780,7 @@ class PollingCollector:
|
|||||||
'security_count': str(len(security_pkgs)),
|
'security_count': str(len(security_pkgs)),
|
||||||
'pve_count': str(len(pve_pkgs)),
|
'pve_count': str(len(pve_pkgs)),
|
||||||
'kernel_count': str(len(kernel_pkgs)),
|
'kernel_count': str(len(kernel_pkgs)),
|
||||||
'important_list': '\n'.join(f' {l}' for l in important_lines) if important_lines else 'none',
|
'important_list': '\n'.join(f' \u2022 {l}' for l in important_lines) if important_lines else 'none',
|
||||||
'package_list': ', '.join(important_lines[:6]) if important_lines else '',
|
'package_list': ', '.join(important_lines[:6]) if important_lines else '',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user