Reinstate notes for bills.

This commit is contained in:
James Cole 2018-09-27 17:46:28 +02:00
parent 4b1aa29269
commit ab5b7f7893
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -91,13 +91,13 @@
<a id="billButtons" href="{{ route('bills.rescan',object.data.id) }}" class="btn btn-default">{{ 'rescan_old'|_ }}</a>
</div>
</div>
{% if object.data.notes.data[0] %}
{% if object.data.notes %}
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'notes'|_ }}</h3>
</div>
<div class="box-body table-responsive">
{{ object.data.notes.data[0].markdown|raw }}
{{ object.data.notes|markdown }}
</div>
</div>
{% endif %}