Implement key parameter rendering for components. In Stock viewer still missing

This commit is contained in:
2022-01-11 19:35:09 +01:00
parent ea623212bb
commit a566e198b8
4 changed files with 47 additions and 9 deletions

View File

@@ -48,7 +48,12 @@
{% endif %}
</div>
<div class="flex-grow-1 ms-3">
<h6 class="mt-0 text-primary">{{ comp.name }}</h6>
<h6 class="mt-0 text-primary">
{{ comp.name }}
{% for key_param in comp.get_key_parameters_as_text %}
{{key_param}}
{% endfor %}
</h6>
{% if comp.package %}
Package: {{comp.package}}<br>
{% endif %}