mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Show part comment with the correct intendation.
This commit is contained in:
parent
dc92ef84e4
commit
2c005dbe3f
1 changed files with 6 additions and 4 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue