aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/templates/blotter.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn/templates/blotter.html')
-rw-r--r--python/Dawn/templates/blotter.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/Dawn/templates/blotter.html b/python/Dawn/templates/blotter.html
index 79acec44..70b13d5d 100644
--- a/python/Dawn/templates/blotter.html
+++ b/python/Dawn/templates/blotter.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
</head>
- <body style="max-width:1300px; margin:0 auto">
+ <body style="max-width:1500px; margin:0 auto">
<table class="table table-striped">
<thead>
<tr>
@@ -33,15 +33,15 @@
<td>{{trade.cusip if trade.cusip}}</td>
<td>{{trade.isin if trade.isin}}</td>
<td>{{trade.description}}</td>
- <td>{{trade.faceamount}}</td>
- <td>{{trade.price}}</td>
+ <td>{{"{0:,.0f}".format(trade.faceamount)}}</td>
+ <td>{{trade.price|round(3)}}</td>
<td><a href="{{url_for('edit_counterparty',
cpcode=trade.counterparty.code)}}">{{trade.counterparty.name}}</a></td>
<td>{{trade.folder}}</td>
<td>{{trade.asset_class}}</td>
- <td>{{trade.accrued}}</td>
- <td><a href="{{url_for('download_ticket', filename = trade.ticket)}}">
- <span class="glyphicon glyphicon-file"></span></td>
+ <td>{{trade.accrued|round(3)}}</td>
+ <td>{%if trade.ticket %}<a href="{{url_for('download_ticket', filename = trade.ticket)}}">
+ <span class="glyphicon glyphicon-file"></span></a>{% endif %}</td>
</tr>
{% endfor %}
</table>