diff options
Diffstat (limited to 'python/Dawn/templates/cds_blotter.html')
| -rw-r--r-- | python/Dawn/templates/cds_blotter.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/Dawn/templates/cds_blotter.html b/python/Dawn/templates/cds_blotter.html index 4017e343..38ee5ab3 100644 --- a/python/Dawn/templates/cds_blotter.html +++ b/python/Dawn/templates/cds_blotter.html @@ -26,11 +26,11 @@ <td>{{trade.protection}}</td> <td>{{trade.security_desc}}</td> <td>{{trade.security_id}}</td> - <td>{{"{0:,.2f}".format(trade.notional)}}</td> + <td>{{trade.notional|thousands}}</td> <td style="text-align:right">{{"{0:,.2f}".format(trade.upfront) if trade.upfront else "-"}}</td> <td style="text-align:right">{{"{0:,.4f}".format(trade.ref) if trade.ref else "-"}}</td> - <td>{{trade.orig_attach if trade.orig_attach is not none else ""}}</td> - <td>{{trade.orig_detach if trade.orig_detach is not none else ""}}</td> + <td>{{trade.orig_attach if trade.orig_attach is not none}}</td> + <td>{{trade.orig_detach if trade.orig_detach is not none}}</td> <td><a href="{{url_for('edit_counterparty', cpcode=trade.cp_code)}}">{{trade.name}}</a></td> <td>{{trade.trade_type}}</td> |
