added template based dynamic description

This commit is contained in:
2025-01-31 23:10:08 +01:00
parent 35b99e1b18
commit 6ca0ce483f
4 changed files with 72 additions and 1 deletions

View File

@@ -101,7 +101,10 @@
<span class="text-secondary"><br>Lot: {{stock.lot}}</span>
{% endif %}
</div>
<div class="flex-grow-2 ms-3 d-none d-lg-block">
<div class="flex-grow-2 ms-3 d-none d-lg-block" style="text-align: center;">
<pre>{{ stock.component.dynamic_description }}</pre>
</div>
<div class="flex-grow-2 ms-5 d-none d-lg-block">
{% qr_from_text stock.get_qr_code size="6" image_format="svg" %}
</div>
<div class="ms-3">