Skip to content

Commit

Permalink
move attributevalues
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipthelen committed Apr 17, 2020
1 parent 712765b commit 8cdb2fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions templates/devices/detail/device_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,12 @@ <h5 id="details_header">{% trans "Manual Data" %}</h5>
<td>{{ device.inventoried }}</td>
</tr>
{% endif %}
{% for attributevalue in attributevalue_list %}
<tr>
<td>{{ attributevalue.typeattribute.name }}</td>
<td>{{ attributevalue }}</td>
</tr>
{% endfor %}
</tbody>
</table>

Expand All @@ -308,12 +314,6 @@ <h5 id="details_header">{% trans "Manual Data" %}</h5>
<h5 id="details_header">{% trans "Automatic Data" %}</h5>
<table id="details_table" class="table table-bordered table-striped">
<tbody>
{% for attributevalue in attributevalue_list %}
<tr>
<td>{{ attributevalue.typeattribute.name }}</td>
<td>{{ attributevalue }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% if device.pictures.count > 0 %}
Expand Down

0 comments on commit 8cdb2fb

Please sign in to comment.