aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/Dawn/templates/cds_blotter.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Dawn/templates/cds_blotter.html b/python/Dawn/templates/cds_blotter.html
index 0ef93e2c..4017e343 100644
--- a/python/Dawn/templates/cds_blotter.html
+++ b/python/Dawn/templates/cds_blotter.html
@@ -29,8 +29,8 @@
<td>{{"{0:,.2f}".format(trade.notional)}}</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 or ""}}</td>
- <td>{{trade.orig_detach or ""}}</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><a href="{{url_for('edit_counterparty',
cpcode=trade.cp_code)}}">{{trade.name}}</a></td>
<td>{{trade.trade_type}}</td>