{% if decoded is not empty %}

{% if found and partName %} {% trans %}label_scanner.part_info.title{% endtrans %} {% else %} {% trans %}label_scanner.scan_result.title{% endtrans %} {% endif %}

{% if createUrl %} {% endif %}
{% if found %}
{% if partName %} {{ partName }} {% else %} {% trans %}label_scanner.target_found{% endtrans %} {% endif %}
{% if openUrl %} {% trans %}open{% endtrans %} {% endif %}
{% if partName %} {% 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 %} {% 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 %}