If client.baseurl is null it defaults on https://+clientid
This commit is contained in:
parent
8a7293ccf2
commit
37601d4c6d
|
@ -25,11 +25,11 @@
|
|||
<div class="row py-3">
|
||||
<div class="col">
|
||||
<#if client??>
|
||||
<a href="${client.getBaseUrl()}">
|
||||
<a href="${client.getBaseUrl()!("https://" + client.getClientId())}">
|
||||
<#if properties.logoSrc?has_content>
|
||||
<img class="img-fluid float-left" alt="${properties.logoAlt}" src="${properties.logoSrc}" style="${properties.logoStyle}">
|
||||
<#else>
|
||||
<h1>${client.getName()?capitalize?keep_before('.')}</h1>
|
||||
<h1>${(client.getName()!client.getClientId()!"undefined client")?capitalize?keep_before('.')}</h1>
|
||||
</#if>
|
||||
</a>
|
||||
</#if>
|
||||
|
|
Loading…
Reference in New Issue