2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

- Bump djLint to 1.29.0 (from 1.25.0) in the CI linting scripts (#4907)

- Add alt attribute to the img tags in the templates (required by the bump)
This commit is contained in:
Miklós Márton
2023-05-27 00:52:10 +02:00
committed by GitHub
parent 11f816a787
commit 21dafdee8e
5 changed files with 5 additions and 5 deletions

View File

@ -92,7 +92,7 @@
{% endblock actions %}
{% block thumbnail %}
<img class='part-thumb'
<img alt="{% trans "Supplier part thumbnail" %}" class='part-thumb'
{% if order.supplier and order.supplier.image %}
src="{{ order.supplier.image.url }}"
{% else %}

View File

@ -15,7 +15,7 @@
{% endblock breadcrumbs %}
{% block thumbnail %}
<img class='part-thumb'
<img alt="{% trans "Customer logo thumbnail" %}" class='part-thumb'
{% if order.customer and order.customer.image %}
src="{{ order.customer.image.url }}"
{% else %}

View File

@ -15,7 +15,7 @@
{% endblock breadcrumbs %}
{% block thumbnail %}
<img class='part-thumb'
<img alt="{% trans "Customer logo thumbnail" %}" class='part-thumb'
{% if order.customer and order.customer.image %}
src="{{ order.customer.image.url }}"
{% else %}