Templating alert customization (ng_alert_notification.html)

I am currently modifying the defaut template (ng_alert_notification.html) and I have some issue

  • I am trying to use some functions (toUpper, replaceAll) but it does not recognize it.
    ex: {{ .Name | toUpper }}

  • I try to put an order in my query so the data will be ordered in the email, but it does not take it.

  • I also try to have a order in the labels, but I only have .SortedPairs, but it’s only alphabetic order by the label.

thanks for helping