add colors to open and closed

This commit is contained in:
Cayo Puigdefabregas 2022-06-01 13:26:17 +02:00
parent 1e50db9194
commit 29313e3470

View file

@ -87,7 +87,7 @@
{% if lot.transfer %}
<li class="nav-item">
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#edit-transfer">
Transfer ({% if lot.transfer.closed %}Closed{% else %}Open{% endif %})
Transfer ({% if lot.transfer.closed %}<span class="text-danger">Closed</span>{% else %}<span class="text-success">Open</span>{% endif %})
</button>
</li>
{% endif %}