Added FQDN resolving in mail notification templates to denote the host that an action...
[flowspy] / templates / rule_edit_mail.txt
index c0996ab..974d6c3 100644 (file)
@@ -1,7 +1,8 @@
+{% load tofqdn %}
 A new rule edit job has spawned
 
 Peer: {{route.applier.get_profile.peer.peer_name}}
-User {{route.applier.username}} requested the application of the following rule from address {{address}} :
+User {{route.applier.username}} requested the application of the following rule from address {{address}} {% if address|tofqdn %}({{address|tofqdn}}){% endif %}:
 
 Match
 * Dst Addr:{{route.destination}}