summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBenedict Börger <benedict@0xb8000.de>2019-07-08 20:31:49 +0200
committerBenedict Börger <benedict@0xb8000.de>2019-07-08 20:31:49 +0200
commit9868128558bed0a1767b2b2880bb53e0e7d10154 (patch)
tree7aa9682f8f98b2c5afa3f63b0cffe1b18f8314a5 /templates
parent236a2609eb153ae428b35c9a31eaedf197a5b036 (diff)
[web_frontend][asset] add risk cateogry in overview
Diffstat (limited to 'templates')
-rw-r--r--templates/asset.html.tera3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/asset.html.tera b/templates/asset.html.tera
index 75e8e85..c379977 100644
--- a/templates/asset.html.tera
+++ b/templates/asset.html.tera
@@ -42,6 +42,7 @@
<tr>
<th>Account</th>
<th>Category</th>
+ <th>Risk</th>
<th>Balance</th>
</tr>
</thead>
@@ -50,6 +51,7 @@
<tr>
<td><a href="/transactions/{{ account.name }}">{{ account.name }}</a></td>
<td>{{ account.category }}</td>
+ <td>{{ account.risk }}</td>
{% if account.balance >= 0 %}
<td class="text-success">{{ account.balance | round(method="common", precision=2)}}</td>
{% else %}
@@ -62,6 +64,7 @@
<tr style="border-top:2px solid #000000;">
<td></td>
<td></td>
+ <td></td>
{% if amount_sum >= 0 %}
<td class="text-success">{{ amount_sum | round(method="common", precision=2) }}</td>
{% else %}