Add colors, fix bugs
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
</div>
|
||||
<table id="account-overview-table">
|
||||
<tr>
|
||||
<th id="type-row" />
|
||||
<th class="hideable-column" th:text="#{financer.account-overview.table-header.id}"/>
|
||||
<th th:text="#{financer.account-overview.table-header.key}"/>
|
||||
<th th:text="#{financer.account-overview.table-header.balance}"/>
|
||||
@@ -76,6 +77,12 @@
|
||||
<th class="hideable-column" th:text="#{financer.account-overview.table-header.status}"/>
|
||||
</tr>
|
||||
<tr th:each="acc : ${accounts}">
|
||||
<th class="bank-row" th:if="${acc.type == T(de.financer.model.AccountType).BANK}" />
|
||||
<th class="cash-row" th:if="${acc.type == T(de.financer.model.AccountType).CASH}" />
|
||||
<th class="income-row" th:if="${acc.type == T(de.financer.model.AccountType).INCOME}" />
|
||||
<th class="liability-row" th:if="${acc.type == T(de.financer.model.AccountType).LIABILITY}" />
|
||||
<th class="expense-row" th:if="${acc.type == T(de.financer.model.AccountType).EXPENSE}" />
|
||||
<th class="start-row" th:if="${acc.type == T(de.financer.model.AccountType).START}" />
|
||||
<td class="hideable-column" th:text="${acc.id}"/>
|
||||
<td>
|
||||
<a th:href="@{/accountDetails(key=${acc.key})}" th:text="${acc.key}"/>
|
||||
|
||||
Reference in New Issue
Block a user