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.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/python/Dawn/templates/blotter.html b/python/Dawn/templates/blotter.html
index d5542e3b..91b72121 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:1100px; margin:0 auto">
+ <body style="max-width:1300px; margin:0 auto">
<table class="table table-striped">
<thead>
<tr>
@@ -26,20 +26,21 @@
</thead>
{% for trade in trades %}
<tr>
- <td><a href="{{url_for('trade_update', tradeid=trade.id)}}">{{trade.dealid}}</td>
+ <td><a href="{{url_for('trade_manage', tradeid=trade.id)}}">{{trade.dealid}}</a></td>
<td>{{trade.trade_date}}</td>
<td>{{trade.settle_date}}</td>
<td>{% if trade.buysell %}Buy{% else %}Sell{% endif %}</td>
- <td>{{trade.cusip}}</td>
- <td>{{trade.isin}}</td>
+ <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>{{trade.counterparty}}</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>
+ <td><a href="{{url_for('download_ticket', filename = trade.ticket)}}">download</a></td>
</tr>
{% endfor %}
</table>