2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Fix parameter lookup

This commit is contained in:
Oliver Walters
2019-08-20 13:03:36 +10:00
parent e6819b5396
commit a228b38e5d
2 changed files with 12 additions and 8 deletions

View File

@@ -7,19 +7,23 @@
<h4>Part Parameters</h4>
<hr>
<table>
<tr>
<th>Name</th>
<th>Value</th>
</tr>
<table class='table table-condensed table-striped'>
<tr>
<th>Name</th>
<th>Value</th>
<th>Units</th>
</tr>
{% for param in part.get_parameters %}
<tr>
<td>{{ param.name }}</td>
<td>{{ param.template.name }}</td>
<td>{{ param.data }}</td>
<td>{{ param.template.units }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% block js_ready %}