Adding part details page

This commit is contained in:
Ian Roddis committed 2026-07-27 15:11:58 -03:00
1 parent 2587ccbceb
commit 1b52ad04bc
7 files changed
+305 -9

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@
{% set info = row.info %}
<tr>
<td>
<strong>{{ scope.description }}</strong>
<strong><a href="/admin/augmented-parts/{{ scope.id }}">{{ scope.description }}</a></strong>
{% if scope.sku %}<br><span class="muted">{{ scope.sku }}</span>{% endif %}
</td>
<td>{{ scope.manufacturer.name if scope.manufacturer else "—" }}</td>
@@ -50,7 +50,7 @@
{% for e in entries %}
<div class="fit-cell-item">
<span class="fit-badge fit-badge-{{ e.label }}">{{ e.label | capitalize }}</span>
{{ e.part.description | truncate(48) }}
<a href="/admin/augmented-parts/{{ e.part.id }}">{{ e.part.description | truncate(48) }}</a>
</div>
{% endfor %}
{% else %}