pve-manager/templates/default/replication-body.html.hbs
Lukas Wagner fede7e87e4 notifications: use named templates instead of in-code templates
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>
2024-06-03 14:16:35 +02:00

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>