Generate email content from ninja2 templates
This commit is contained in:
9
files/change_notification.j2
Normal file
9
files/change_notification.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
Your dynamic DNS entry has changed.
|
||||
|
||||
Hostname: {{fqdn}}
|
||||
{% if ipv4_changed %}
|
||||
IPv4 address: {{ipv4}} (changed at: {{last_ipv4_update}})
|
||||
{% endif %}
|
||||
{% if ipv6_changed %}
|
||||
IPv6 address: {{ipv6}} (changed at: {{last_ipv6_update}})
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user