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

#401 - corrected usage of rows and columns

parent db28910d
No related branches found
No related tags found
No related merge requests found
Pipeline #532 passed
......@@ -46,6 +46,8 @@
<#-- transactions list -->
<br>
<div class="row">
<div class="col s12">
<table class="bordered">
<#list transactions as transaction>
<tr>
......@@ -78,6 +80,8 @@
</tr>
</#list>
</table>
</div>
</div>
<#-- show placeholde text if no transactions are present in the current month or REST ist the only transaction -->
<#assign isOnlyRest = transactions?size == 1 && transactions[0].category.type.name() == "REST"/>
......@@ -86,8 +90,12 @@
</#if>
<#if transactions?size == 0 || isOnlyRest>
<div class="row">
<div class="col s12">
<div class="headline center-align">${locale.getString("placeholder.seems.empty")}</div>
<div class="headline-advice center-align">${locale.getString("placeholder.advice", locale.getString("menu.transactions"))}</div>
</div>
</div>
</#if>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment