Allow to import GTIN from info providers

This commit is contained in:
Jan Böhmer 2026-02-08 15:32:35 +01:00
parent 57c8368b5e
commit fd76ca12fc
8 changed files with 39 additions and 1 deletions

View file

@ -94,7 +94,13 @@
<small class="text-muted">{{ dto.footprint }}</small>
{% endif %}
</td>
<td>{{ helper.m_status_to_badge(dto.manufacturing_status) }}</td>
<td>
{{ helper.m_status_to_badge(dto.manufacturing_status) }}
{% if dto.gtin %}
<br>
<span class="badge text-bg-secondary" title="{% trans %}part.gtin{% endtrans %}"><i class="fa-solid fa-barcode"></i> {{ dto.gtin }}</span>
{% endif %}
</td>
<td>
{% if dto.provider_url %}
<a href="{{ dto.provider_url }}" target="_blank" rel="noopener">