Update breadcrum: All devices VS Unassigned
This commit is contained in:
parent
9e779d279c
commit
290c260511
|
@ -7,7 +7,11 @@
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="{{ url_for('inventory.devicelist')}}">Inventory</a></li>
|
<li class="breadcrumb-item"><a href="{{ url_for('inventory.devicelist')}}">Inventory</a></li>
|
||||||
{% if not lot %}
|
{% if not lot %}
|
||||||
|
{% if unassigned_devices %}
|
||||||
<li class="breadcrumb-item active">Unassigned</li>
|
<li class="breadcrumb-item active">Unassigned</li>
|
||||||
|
{% else %}
|
||||||
|
<li class="breadcrumb-item active">All devices</li>
|
||||||
|
{% endif %}
|
||||||
{% elif lot.is_temporary %}
|
{% elif lot.is_temporary %}
|
||||||
<li class="breadcrumb-item active">Temporary Lot</li>
|
<li class="breadcrumb-item active">Temporary Lot</li>
|
||||||
<li class="breadcrumb-item active">{{ lot.name }}</li>
|
<li class="breadcrumb-item active">{{ lot.name }}</li>
|
||||||
|
|
Reference in New Issue