Skip to content
Snippets Groups Projects
Commit 1be72920 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #627 - displaced built-in icons in custom select

parent 47aca318
No related branches found
No related tags found
No related merge requests found
......@@ -120,16 +120,10 @@
</a>
</#macro>
<#macro entityIcon entity wrapInCircle=true classes="">
<#macro entityIcon entity classes="">
<#if entity.getIconReference()??>
<#if entity.getIconReference().isBuiltinIcon()>
<#if wrapInCircle>
<div class="category-circle">
</#if>
<i class="${entity.getIconReference().getBuiltinIdentifier()} ${classes}"></i>
<#if wrapInCircle>
</div>
</#if>
<#else>
<img src="${entity.getIconReference().getImage().getBase64EncodedImage()}" class="${classes}"/>
</#if>
......
......@@ -53,7 +53,7 @@
<#macro templateHeader template>
<#if template.getIconReference()??>
<@header.entityIcon entity=template wrapInCircle=false classes="template-icon text-default"/>
<@header.entityIcon entity=template classes="template-icon text-default"/>
<#elseif template.getTransferAccount()??>
<i class="material-icons">swap_horiz</i>
<#else>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment