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

@ -45,10 +45,12 @@
<span class="text-muted">{{ "TODO" }}</span> <span class="text-muted">{{ "TODO" }}</span>
</h6> </h6>
{% 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>
<span class="text-muted">{{ part.comment|nl2br }}</span> <div class="d-inline-flex">
</h6> <span class="text-muted">{{ part.comment|nl2br }}</span>
</div>
</h6>
{% endif %} {% endif %}
</div> </div>
</div> </div>