funckja niekupione - poprawki w szablonie i backendzie

This commit is contained in:
Mateusz Gruszczyński
2025-07-15 23:27:54 +02:00
parent 4ef183e2a9
commit 9dcd144b34
3 changed files with 17 additions and 1 deletions

View File

@@ -106,6 +106,9 @@ Lista: <strong>{{ list.title }}</strong>
{% if item.note %}
<small class="text-danger ms-4">[ <b>{{ item.note }}</b> ]</small>
{% endif %}
{% if item.not_purchased_reason %}
<small class="text-dark ms-4">[ <b>Powód: {{ item.not_purchased_reason }}</b> ]</small>
{% endif %}
</div>
<div class="mt-2 mt-md-0 d-flex gap-1">
<button class="btn btn-sm btn-outline-warning"

View File

@@ -47,6 +47,9 @@
{% if item.note %}
<small class="text-danger ms-4">[ <b>{{ item.note }}</b> ]</small>
{% endif %}
{% if item.not_purchased_reason %}
<small class="text-dark ms-4">[ <b>Powód: {{ item.not_purchased_reason }}</b> ]</small>
{% endif %}
</div>
<div class="btn-group btn-group-sm" role="group">
{% if item.not_purchased %}