Fix some markdown related items for #1009

This commit is contained in:
James Cole 2017-11-22 18:12:09 +01:00
parent d9fa098ae5
commit 1fee62566b
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
4 changed files with 4 additions and 4 deletions

View File

@ -100,7 +100,7 @@
<h3 class="box-title">{{ trans('form.notes') }}</h3>
</div>
<div class="box-body">
{{ note.markdown|raw }}
{{ note.text|markdown }}
</div>
</div>

View File

@ -240,7 +240,7 @@
{% if journal.notes.count == 1 %}
<tr>
<td>{{ trans('list.notes') }}</td>
<td>{{ journal.notes.first.markdown|raw }}</td>
<td>{{ journal.notes.first.text|markdown }}</td>
</tr>
{% endif %}

View File

@ -165,7 +165,7 @@
{# NOTES #}
{% if optionalFields.notes %}
{{ ExpandedForm.textarea('notes') }}
{{ ExpandedForm.textarea('notes',null,{helpText: trans('firefly.field_supports_markdown')}) }}
{% endif %}
</div>

View File

@ -184,7 +184,7 @@
{% if optionalFields.notes or data['notes'] %}
<!-- NOTES -->
{{ ExpandedForm.textarea('notes', data['notes']) }}
{{ ExpandedForm.textarea('notes', data['notes'], {helpText: trans('firefly.field_supports_markdown')}) }}
{% endif %}
</div>