If client.baseurl is null it defaults on https://+clientid

This commit is contained in:
vcestone 2020-06-30 16:01:17 +02:00
parent 8a7293ccf2
commit 37601d4c6d
1 changed files with 2 additions and 2 deletions

View File

@ -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>