diff --git a/BudgetMasterServer/src/main/resources/static/css/transactionImport.css b/BudgetMasterServer/src/main/resources/static/css/transactionImport.css index 58da3cc995f4f7a2749b8c6ee068b9a666b968e7..7056f8b1cfa7a7201595df1b080081812fbc5b16 100644 --- a/BudgetMasterServer/src/main/resources/static/css/transactionImport.css +++ b/BudgetMasterServer/src/main/resources/static/css/transactionImport.css @@ -11,4 +11,8 @@ .transaction-import-text-with-icon i { margin-right: 1.3rem; +} + +.transaction-import-row-skipped { + opacity: 0.5; } \ No newline at end of file diff --git a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl index c31894679e0d797b772b0ae83d25de22a038a4be..6ebad981048ed8a95f8b06d69434fb44429f238c 100644 --- a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl +++ b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl @@ -205,7 +205,7 @@ </#macro> <#macro renderCsvRow csvTransaction index> - <tr> + <tr class="<#if csvTransaction.getStatus().name() == 'SKIPPED'>transaction-import-row-skipped</#if>"> <form name="NewTransactionInPlace" method="POST" action="<@s.url '/transactionImport/' + index + '/newTransactionInPlace'/>"> <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/> <td><@statusBanner csvTransaction.getStatus()/></td>