improved display of dynamic description

This commit is contained in:
2025-01-31 23:59:34 +01:00
parent adf152938d
commit 871086c7b7
3 changed files with 15 additions and 5 deletions

View File

@@ -54,7 +54,12 @@
Manufacturer: {{comp.manufacturer}}
{% endif %}
</div>
<span class="badge bg-primary rounded-pill">{{comp.get_total_amount}}</span>
<div class="flex-grow-1 d-block ms-3" style="text-align: right;">
<pre>{{ comp.dynamic_description }}</pre>
</div>
<div style="width: 10%; text-align: right;">
<span class="badge bg-primary rounded-pill me-2">{{comp.get_total_amount}}</span>
</div>
</li>
</a>
{% endfor %}