forked from mirror/Part-DB.Part-DB-server
18 lines
No EOL
600 B
Twig
18 lines
No EOL
600 B
Twig
{# var \App\Entity\Parts\Part part #}
|
|
|
|
<table class="table table-hover table-striped table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans %}specifications.property{% endtrans %}</th>
|
|
<th>{% trans %}specifications.value{% endtrans %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for param in part.parameters %}
|
|
<tr>
|
|
<td>{{ param.name }} {% if param.symbol is not empty %}<span class="latex">${{ param.symbol }}$</span>{% endif %}</td>
|
|
<td>{{ param.formattedValue }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table> |