mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-15 22:19:35 +00:00
Allow to import GTIN from info providers
This commit is contained in:
parent
57c8368b5e
commit
fd76ca12fc
8 changed files with 39 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -27,6 +27,14 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if part.gtin %}
|
||||
<div>
|
||||
<h6>
|
||||
<span class="badge text-bg-secondary" title="{% trans %}part.gtin{% endtrans %}"><i class="fa-solid fa-barcode"></i> {{ part.gtin }}</span>
|
||||
</h6>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# Needs Review tag #}
|
||||
{% if part.needsReview %}
|
||||
<div class="mt-1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue