{% if decoded is not empty %}

{% trans %}label_scanner.part_info.title{% endtrans %}

{% if createUrl %} {% endif %}
{% if found %}
{{ partName }} {% if partUrl %} — {% trans %}open{% endtrans %} {% endif %}
{% if locations is not empty %} {% for loc in locations %} {% endfor %}
{% trans %}part_lots.storage_location{% endtrans %} {% trans %}part_lots.amount{% endtrans %}
{% if loc.qty is not null %}{{ loc.qty }}{% else %}{% endif %}
{% else %}
{% trans %}label_scanner.no_locations{% endtrans %}
{% endif %} {% else %}
{% trans %}label_scanner.qr_part_no_found{% endtrans %}
{% endif %} {# Decoded barcode fields #} {% for key, value in decoded %} {% endfor %}
{{ key }} {{ value }}
{# Whitespace under table and Input form fields #}

{% endif %}