account.v3 allow adding scripts like in v2 (#25507)

* account.v3 allow adding scripts like in v2
Fixes #25502

Signed-off-by: Stan Silvert <ssilvert@redhat.com>

* Review comments

Signed-of-by: Jon Koops <jonkoops@gmail.com>

---------

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Stan Silvert 2023-12-13 15:49:27 -05:00 committed by GitHub
parent 914fd39dd3
commit 83c3910190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,11 @@
<token><![CDATA[</head>]]></token>
<value xml:space="preserve">
<![CDATA[
<#if properties.scripts?has_content>
<#list properties.scripts?split(' ') as script>
<script src="${resourceUrl}/${script}"></script>
</#list>
</#if>
<#if properties.styles?has_content>
<#list properties.styles?split(' ') as style>
<link href="${resourceUrl}/${style}" rel="stylesheet"/>