mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +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
|
@ -45,10 +45,12 @@
|
|||
<span class="text-muted">{{ "TODO" }}</span>
|
||||
</h6>
|
||||
{% if part.comment != "" %}
|
||||
<h6 title="{% trans %}comment.label{% endtrans %}">
|
||||
<i class="fas fa-comment-alt fa-fw"></i>
|
||||
<span class="text-muted">{{ part.comment|nl2br }}</span>
|
||||
</h6>
|
||||
<h6 title="{% trans %}comment.label{% endtrans %}">
|
||||
<i class="fas fa-comment-alt fa-fw"></i>
|
||||
<div class="d-inline-flex">
|
||||
<span class="text-muted">{{ part.comment|nl2br }}</span>
|
||||
</div>
|
||||
</h6>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue