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

#774 - account overview: add table header + move end date to separate column

parent 36ec7584
Branches
Tags
No related merge requests found
...@@ -25,6 +25,17 @@ ...@@ -25,6 +25,17 @@
<br> <br>
<div class="container account-container"> <div class="container account-container">
<table class="bordered"> <table class="bordered">
<thead>
<tr>
<th>${locale.getString("account.new.label.state")}</th>
<th>${locale.getString("account.new.label.endDate")}</th>
<th>${locale.getString("account.new.label.icon")}</th>
<th>${locale.getString("account.new.label.name")}</th>
<th>${locale.getString("transaction.new.label.description")}</th>
<th>${locale.getString("categories.actions")}</th>
</tr>
</thead>
<#list accounts as account> <#list accounts as account>
<#if (account.getType().name() == "CUSTOM")> <#if (account.getType().name() == "CUSTOM")>
<tr class="account-overview-row"> <tr class="account-overview-row">
...@@ -39,9 +50,10 @@ ...@@ -39,9 +50,10 @@
<a href="<@s.url '/accounts/${account.getID()?c}/setAsDefault'/>" class="btn-flat no-padding text-default tooltipped" data-position="left" data-tooltip="${locale.getString("account.tooltip.default")}"><i class="material-icons left"><#if account.isDefault()>star<#else>star_border</#if></i></a> <a href="<@s.url '/accounts/${account.getID()?c}/setAsDefault'/>" class="btn-flat no-padding text-default tooltipped" data-position="left" data-tooltip="${locale.getString("account.tooltip.default")}"><i class="material-icons left"><#if account.isDefault()>star<#else>star_border</#if></i></a>
<i class="fas fa-edit placeholder-icon-right"></i> <i class="fas fa-edit placeholder-icon-right"></i>
</#if> </#if>
</td>
<td>
<#if account.getEndDate()??> <#if account.getEndDate()??>
<i class="fas fa-bell"></i> <i class="fas fa-bell placeholder-icon-right"></i> ${dateService.getDateStringNormal(account.getEndDate())}
<#else> <#else>
<div class="placeholder-icon"></div> <div class="placeholder-icon"></div>
</#if> </#if>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment