KEYCLOAK-14562 icon nd descriptionLabel can be undefined
This commit is contained in:
parent
82275d99b6
commit
08da208fcd
1 changed files with 11 additions and 2 deletions
|
@ -231,8 +231,17 @@
|
|||
<div class="pf-l-gallery__item">
|
||||
<div class="pf-c-card" id="landing${item.id}Card">
|
||||
<div class="pf-c-card__header pf-c-content">
|
||||
<h2><i class="pf-icon ${item.icon}"></i> ${msg(item.label)}</h2>
|
||||
<h2>
|
||||
<#if item.icon??>
|
||||
<i class="pf-icon ${item.icon}"></i>
|
||||
<#elseif item.iconSvg??>
|
||||
<img src="${item.iconSvg}" alt="icon"/>
|
||||
</#if>
|
||||
${msg(item.label)}
|
||||
</h2>
|
||||
<#if item.descriptionLabel??>
|
||||
<h6>${msg(item.descriptionLabel)}</h6>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="pf-c-card__body pf-c-content">
|
||||
<#if item.content??>
|
||||
|
|
Loading…
Reference in a new issue