Remove wrong parsing
This commit is contained in:
parent
380c312c69
commit
64cf6bad17
|
@ -139,23 +139,6 @@
|
||||||
|
|
||||||
<h2 class="section-title mt-5">Components</h2>
|
<h2 class="section-title mt-5">Components</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% comment %}Iterates over legacy snapshot components{% endcomment %}
|
|
||||||
{% for component in object.last_evidence.doc.components %}
|
|
||||||
<div class="col-md-6 mb-3">
|
|
||||||
<div class="card component-card">
|
|
||||||
<div class="card-body">
|
|
||||||
<h5 class="card-title">{{ component.type }}</h5>
|
|
||||||
<p class="card-text">
|
|
||||||
<strong>Manufacturer:</strong> {{ component.manufacturer }}<br />
|
|
||||||
<strong>Model:</strong> {{ component.model }}<br />
|
|
||||||
<strong>Serial Number:</strong> {{ component.serialNumber }}
|
|
||||||
</p>
|
|
||||||
<small class="text-muted">{{ component.created }}</small>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% comment %}Iterates over new snapshot components{% endcomment %}
|
|
||||||
{% for component in object.components %}
|
{% for component in object.components %}
|
||||||
<div class="col-md-6 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
<div class="card component-card">
|
<div class="card component-card">
|
||||||
|
|
Loading…
Reference in New Issue