X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finvalid.html;h=922829cd0f7eefc09f5af6424c9299c693b74c0d;hp=d83813427d9fdc435414524ee4cd628fdb77e687;hb=ffd92ca2374c0b2218e583d02e0bdd24b8c110ae;hpb=646004e2b898f06cef9e021f47e855b45b38ebc6 diff --git a/src/main/resources/templates/invalid.html b/src/main/resources/templates/invalid.html index d838134..922829c 100644 --- a/src/main/resources/templates/invalid.html +++ b/src/main/resources/templates/invalid.html @@ -2,6 +2,14 @@

<%= Page.Invalid.Page.Title|l10n|html>

-

<%= Page.Invalid.Text|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''>

+ <%foreach messages message> + <%if message|substring start==0 length==1|match value=='!'> +

<% message|substring start==1|parse|render>

+ <%else> +

<% message|parse|render>

+ <%/if> + <%foreachelse> +

<%= Page.Invalid.Text|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement==''>

+ <%/foreach> <%include include/tail.html>