change parth for part in device details

This commit is contained in:
Cayo Puigdefabregas 2022-09-12 11:37:34 +02:00
parent 6079e34627
commit 2528775296
1 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@
<div class="tab-content pt-2">
<div class="tab-pane fade show active" id="details">
<h5 class="card-title">Details Real parth</h5>
<h5 class="card-title">Details Real part</h5>
<div class="row mb-3">
<div class="col-lg-3 col-md-4 label ">
(<a href="{{ url_for('inventory.device_edit', id=placeholder.device.devicehub_id)}}">Edit Device</a>)
@ -119,7 +119,7 @@
</div>
{% if placeholder.binding %}
<h5 class="card-title">Details Abstract parth</h5>
<h5 class="card-title">Details Abstract part</h5>
<div class="row">
<div class="col-lg-3 col-md-4 label ">Type</div>
<div class="col-lg-9 col-md-8">{{ placeholder.binding.type }}</div>
@ -227,13 +227,13 @@
</div>
<div class="tab-pane fade profile-overview" id="components">
<h5 class="card-title">Components Real parth</h5>
<h5 class="card-title">Components Real part</h5>
<div class="list-group col-6">
{{ placeholder.components or '' }}
</div>
{% if placeholder.binding %}
<h5 class="card-title">Components Abstract parth</h5>
<h5 class="card-title">Components Abstract part</h5>
<div class="list-group col-6">
{% for component in placeholder.binding.components|sort(attribute='type') %}
<div class="list-group-item">