add colors to open and closed
This commit is contained in:
parent
1e50db9194
commit
29313e3470
|
@ -87,7 +87,7 @@
|
||||||
{% if lot.transfer %}
|
{% if lot.transfer %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#edit-transfer">
|
<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>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Reference in New Issue