mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-03-07 15:31:00 +08:00
fix error in alert.ftlh
This commit is contained in:
parent
9a9f7d8165
commit
3b0bd33465
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user