Adding part details page
This commit is contained in:
1 parent
2587ccbceb
commit
1b52ad04bc
7 files changed
+305
-9
No files matched your search
@@ -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 %}
|
||||
|
||||
Reference in new issue
Block a user