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

Add page to display part parameters

This commit is contained in:
Oliver Walters
2019-08-20 12:43:12 +10:00
parent 2f6357b136
commit 1cd0051316
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
{% extends "part/part_base.html" %}
{% load static %}
{% block details %}
{% include "part/tabs.html" with tab='params' %}
<h4>Part Parameters</h4>
<hr>
<table>
<tr>
<th>Name</th>
<th>Value</th>
</tr>
{% for param in part.get_parameters %}
<tr>
<td>{{ param.name }}</td>
<td>{{ param.data }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% block js_ready %}
{{ block.super }}
{% endblock %}