change binding for new twin
This commit is contained in:
parent
44c22898c2
commit
5c644d9a9a
|
@ -44,11 +44,11 @@
|
||||||
</div>
|
</div>
|
||||||
{% if placeholder.status in ['Abstract', 'Real'] %}
|
{% if placeholder.status in ['Abstract', 'Real'] %}
|
||||||
<a type="button" href="{{ url_for('inventory.binding_search', dhid=placeholder.device.devicehub_id) }}" class="btn btn-primary" style="float: right; margin-right: 15px;">
|
<a type="button" href="{{ url_for('inventory.binding_search', dhid=placeholder.device.devicehub_id) }}" class="btn btn-primary" style="float: right; margin-right: 15px;">
|
||||||
Binding
|
New Twin
|
||||||
</a>
|
</a>
|
||||||
{% elif placeholder.status == 'Twin' %}
|
{% elif placeholder.status == 'Twin' %}
|
||||||
<a type="button" href="{{ url_for('inventory.unbinding', phid=placeholder.phid) }}" class="btn btn-primary" style="float: right; margin-right: 15px;">
|
<a type="button" href="{{ url_for('inventory.unbinding', phid=placeholder.phid) }}" class="btn btn-primary" style="float: right; margin-right: 15px;">
|
||||||
Unbinding
|
Delete Twin
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div style="display: block;"></div>
|
<div style="display: block;"></div>
|
||||||
|
|
Reference in a new issue