From aa939bba0cfd15e4b660c3f91cc3d2d51c6fb950 Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Wed, 16 Jun 2021 22:39:02 +0200 Subject: [PATCH] #622 - show account squares for accounts without icon --- src/main/resources/templates/accounts/accounts.ftl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/templates/accounts/accounts.ftl b/src/main/resources/templates/accounts/accounts.ftl index 184a1e59d..30a6592b0 100644 --- a/src/main/resources/templates/accounts/accounts.ftl +++ b/src/main/resources/templates/accounts/accounts.ftl @@ -9,6 +9,8 @@ <#import "../helpers/navbar.ftl" as navbar> <@navbar.navbar "accounts" settings/> + <#import "../helpers/customSelectMacros.ftl" as customSelectMacros> + <main> <div class="card main-card background-color"> <div class="container"> @@ -38,7 +40,7 @@ <i class="fas fa-edit"></i> </#if> </td> - <td><@header.entityIcon entity=account classes="account-icon text-blue"/></td> + <td><@customSelectMacros.accountIcon account account.getName() "text-blue"/></td> <td>${account.getName()}</td> <td> <a href="<@s.url '/accounts/${account.getID()?c}/edit'/>" class="btn-flat no-padding text-default"><i class="material-icons left">edit</i></a> -- GitLab