mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-04 05:57:13 +00:00

This commit adapts notification sending for - package update - replication - backups to use named templates (installed in /usr/share/pve-manager/templates) instead of passing template strings defined in code to the notification stack. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Max Carrara <m.carrara@proxmox.com> Reviewed-by: Max Carrara <m.carrara@proxmox.com>
19 lines
549 B
Handlebars
19 lines
549 B
Handlebars
<html>
|
|
<body>
|
|
Replication job '{{job-id}}' with target '{{job-target}}' and schedule '{{job-schedule}}' failed!<br/><br/>
|
|
|
|
Last successful sync: {{timestamp last-sync}}<br/>
|
|
Next sync try: {{timestamp next-sync}}<br/>
|
|
Failure count: {{failure-count}}<br/>
|
|
|
|
{{#if (eq failure-count 3)}}
|
|
Note: The system will now reduce the frequency of error reports, as the job appears to be stuck.
|
|
{{/if}}
|
|
<br/>
|
|
Error:<br/>
|
|
<pre>
|
|
{{error}}
|
|
</pre>
|
|
</body>
|
|
</html>
|