From 7f1a3635fc2ada176544ae2d5cb3f1cfdb8d1653 Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Sat, 21 Oct 2023 23:45:31 +0200
Subject: [PATCH] #756 - added tooltip for transfers to display source and
 destination account

---
 .../resources/templates/transactions/transactionsMacros.ftl     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BudgetMasterServer/src/main/resources/templates/transactions/transactionsMacros.ftl b/BudgetMasterServer/src/main/resources/templates/transactions/transactionsMacros.ftl
index 4861c9bbd..d697de936 100644
--- a/BudgetMasterServer/src/main/resources/templates/transactions/transactionsMacros.ftl
+++ b/BudgetMasterServer/src/main/resources/templates/transactions/transactionsMacros.ftl
@@ -7,7 +7,7 @@
             <i class="material-icons">repeat</i>
         </#if>
         <#if transaction.isTransfer()>
-            <i class="material-icons">swap_horiz</i>
+            <i class="material-icons tooltipped" data-position="bottom" data-tooltip="${transaction.getAccount().getName()} ➔ ${transaction.getTransferAccount().getName()}">swap_horiz</i>
         </#if>
 
         <#if !transaction.isRepeating() && !transaction.isTransfer()>
-- 
GitLab