Verified Commit 7c074aa5 authored by Hugo's avatar Hugo
Browse files

add hosterFooterDisabled & hideRealmName options

parent d735c73f
Pipeline #767 passed with stages
in 1 minute and 10 seconds
......@@ -5,3 +5,5 @@ styles=node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternf
meta=viewport==width=device-width,initial-scale=1
logo=logo.svg
cgu=true
hosterFooterDisabled=false
hideRealmName=true
......@@ -42,7 +42,9 @@
<div id="kc-header-wrapper" class="${properties.kcHeaderWrapperClass!}">
<a href="${url.loginUrl}">
<img src="${url.resourcesPath}/img/${properties.logo!}"/><br>
<#if !(properties.hideRealmName?has_content == true)>
${kcSanitize(msg("loginTitleHtml",(realm.displayNameHtml!'')))?no_esc}
</#if>
</a>
</div>
</div>
......@@ -153,9 +155,11 @@
</#if>
</div>
</div>
<#if !(properties.hosterFooterDisabled?has_content == true)>
<div id="footerHoster" style="${properties.footerHosterStyle!}">
<a href="${properties.hosterLink!}" target="_blank"><img src="${url.resourcesPath}/img/${properties.hosterLogoImg!}"></a>
</div>
</#if>
</body>
</html>
</#macro>
......@@ -2,6 +2,4 @@ parent=liiibrelite
locales=en,fr
### kill hoster logo in footer
footerHosterStyle=display: none;
hosterLink=null
hosterLogoImg=null
\ No newline at end of file
hosterFooterDisabled=false
\ No newline at end of file
......@@ -4,3 +4,5 @@ styles=node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternf
meta=viewport==width=device-width,initial-scale=1
logo=logo.png
hosterFooterDisabled=false
hideRealmName=true
......@@ -3,4 +3,6 @@ locales=en,fr,de
styles=node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css lib/zocial/zocial.css css/login.css css/liiibre.css css/style.css
meta=viewport==width=device-width,initial-scale=1
logo=logo.png
\ No newline at end of file
logo=logo.png
hosterFooterDisabled=false
hideRealmName=true
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment