Fixed d4science theme to support parametric client.name fields
This commit is contained in:
parent
d9894e1531
commit
837a278d80
|
@ -50,7 +50,10 @@
|
|||
<#if properties.logoSrc?has_content>
|
||||
<img class="img-fluid float-left" alt="${properties.logoAlt!}" src="${properties.logoSrc!}" style="${properties.logoStyle!}">
|
||||
<#else>
|
||||
<h1>${(client.getName()!client.getClientId()!"undefined client")?capitalize?keep_before('.')}</h1>
|
||||
<h1>
|
||||
<#if client.getName()?has_content && client.getName()?starts_with("${")>${kcSanitize(msg(client.getName()?keep_after("{")?keep_before("}")))}
|
||||
<#else>${(client.getName()!client.getClientId()!"undefined client")?capitalize?keep_before('.')}</#if>
|
||||
</h1><h5>${kcSanitize(msg("ravanello"))}</h5>
|
||||
</#if>
|
||||
</a>
|
||||
</#if>
|
||||
|
|
Loading…
Reference in New Issue