fix error in alert.ftlh

This commit is contained in:
Jake Potrebic 2020-08-23 15:14:40 -07:00
parent 9a9f7d8165
commit 3b0bd33465
No known key found for this signature in database
GPG Key ID: 7C58557EC9C421F8

View File

@ -16,13 +16,11 @@
</#macro>
<#macro normalAlert alertType>
<#assign message=alerts[alertType]["message"]>
<#assign args=alerts[alertType]["args"]>
<#if message??>
<#if args??>
<@spring.messageArgs message args />
<#if alerts[alertType]["message"]??>
<#if alerts[alertType]["args"]??>
<@spring.messageArgs alerts[alertType]["message"] alerts[alertType]["args"] />
<#else>
<@spring.message message />
<@spring.message alerts[alertType]["message"] />
</#if>
</#if>
</#macro>