Implement key parameter rendering for components. In Stock viewer still missing
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="align-middle" scope="row">
|
||||
{{component.name}}
|
||||
{{component.name}}{% if key_parameter_string %}<br><span class="text-secondary">{{key_parameter_string}}</span>{% endif %}
|
||||
</td>
|
||||
<td class="align-middle" >
|
||||
{% if component.package %}
|
||||
@@ -128,7 +128,7 @@
|
||||
<td>
|
||||
{{param.resolved_value_as_string}}
|
||||
</td>
|
||||
<td><span class="text-info">from Package</span></td>
|
||||
<td><span class="text-secondary">from Package</span></td>
|
||||
{% endfor %}
|
||||
{% for param in parameters %}
|
||||
<tr>
|
||||
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user