Fix tests

This commit is contained in:
James Cole
2018-01-17 12:29:00 +01:00
parent 80f96abf08
commit e2af0caa41
4 changed files with 20 additions and 32 deletions

View File

@@ -345,8 +345,9 @@
#{{ link.source.id }}: {{ link.source.description }}</a>
({{ link.source|journalTotalAmount }})
{% endif %}
{% if link.comment != "" %}
<br/><em>{{ link.comment }}</em>
{% if link.notes.count == 1 %}
<br/>
{{ link.notes.first.text|markdown }}
{% endif %}
</td>
</tr>
@@ -459,9 +460,9 @@
</div>
</div>
<div class="form-group">
<label for="comments" class="col-sm-2 control-label">{{ 'comments'|_ }}</label>
<label for="notes" class="col-sm-2 control-label">{{ 'notes'|_ }}</label>
<div class="col-sm-10">
<textarea id="comments" name="comments" class="form-control"></textarea>
<textarea id="notes" name="notes" class="form-control"></textarea>
</div>
</div>