Show part comment with the correct intendation.

This commit is contained in:
Jan Böhmer 2019-03-13 18:49:45 +01:00
parent dc92ef84e4
commit 2c005dbe3f

View file

@ -47,7 +47,9 @@
{% if part.comment != "" %} {% if part.comment != "" %}
<h6 title="{% trans %}comment.label{% endtrans %}"> <h6 title="{% trans %}comment.label{% endtrans %}">
<i class="fas fa-comment-alt fa-fw"></i> <i class="fas fa-comment-alt fa-fw"></i>
<div class="d-inline-flex">
<span class="text-muted">{{ part.comment|nl2br }}</span> <span class="text-muted">{{ part.comment|nl2br }}</span>
</div>
</h6> </h6>
{% endif %} {% endif %}
</div> </div>