summaryrefslogtreecommitdiff
path: root/app/trading
diff options
context:
space:
mode:
Diffstat (limited to 'app/trading')
-rw-r--r--app/trading/templates/trading/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html
index 909d2c4..0fdc03d 100644
--- a/app/trading/templates/trading/list.html
+++ b/app/trading/templates/trading/list.html
@@ -239,8 +239,8 @@
<th>Total Invested</th>
<th>$ at Risk</th>
<th>$ Goal</th>
- <th>Realized $</th>
<th>Realized %</th>
+ <th>Realized $</th>
<th>Notes</th>
</tr>
</thead>
@@ -256,8 +256,8 @@
<td>${{object.amount_invested}}</td>
<td>${{object.risk_dollars}}</td>
<td>${{object.goal_dollars}}</td>
- <td>${{object.realized_dollars}}</td>
<td>{{object.realized_percent}}</td>
+ <td {%if object.realized_dollars > 0 %}class="money"{%elif object.realized_dollars < 0 %}class="nomoney"{%endif%}>${{object.realized_dollars|floatformat:2}}</td>
<td class="notes">
{% if object.notes %}
<div class="wrapper">