#17 Period overview: add Actions

This commit is contained in:
2021-03-04 23:39:50 +01:00
parent d769ab908a
commit 2aa0f7fa9c
6 changed files with 48 additions and 3 deletions

View File

@@ -25,6 +25,7 @@
<th th:text="#{financer.period-overview.table-header.total}"/>
<th th:text="#{financer.period-overview.table-header.assets}"/>
<th th:text="#{financer.period-overview.table-header.transactions}"/>
<th th:text="#{financer.period-overview.table-header.actions}"/>
</tr>
<tr th:each="periodOverview : ${periodOverviews}">
<td th:text="${periodOverview.periodId}"/>
@@ -44,9 +45,14 @@
<span th:if="${periodOverview.assetTrend == T(de.financer.dto.AssetTrend).EQUAL}" class="icon color-neutral">&#xe8e4;</span>
</div>
</td>
<td th:if="${periodOverview.assetsSum == null}" />
<td th:text="${periodOverview.transactionCount}"/>
<td nowrap>
<div id="period-overview-actions-container">
<a th:href="@{/showTransactions(periodId=${periodOverview.periodId})}"
th:text="#{financer.period-overview.table.actions.showTransactions}" />
</div>
</td>
</tr>
</table>
<div th:replace="includes/footer :: footer"/>