Fix duplicate class attribute in image chooser (#12245)

pull/12257/head
SebCorbin 2024-08-21 15:17:20 +02:00 zatwierdzone przez Matt Westcott
rodzic 7582a9932a
commit d0098f394d
3 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -11,6 +11,7 @@ Changelog
* Fix: Prevent page type business rules from blocking reordering of pages (Andy Babic, Sage Abdullah)
* Fix: Improve layout of object permissions table (Sage Abdullah)
* Fix: Fix typo in aria-label attribute of page explorer navigation link (Sébastien Corbin)
* Fix: Reinstate transparency indicator on image chooser widgets (Sébastien Corbin)
* Docs: Upgrade Sphinx to 7.3 (Matt Westcott)
* Docs: Document how to customise date/time format settings (Vince Salvino)
* Maintenance: Removed support for Python 3.8 (Matt Westcott)

Wyświetl plik

@ -26,6 +26,7 @@ This release adds formal support for Django 5.1.
* Prevent page type business rules from blocking reordering of pages (Andy Babic, Sage Abdullah)
* Improve layout of object permissions table (Sage Abdullah)
* Fix typo in aria-label attribute of page explorer navigation link (Sébastien Corbin)
* Reinstate transparency indicator on image chooser widgets (Sébastien Corbin)
### Documentation

Wyświetl plik

@ -2,5 +2,5 @@
{% block chosen_icon %}
{# Empty alt because the chosen items title is already displayed next to the image. #}
<img class="chooser__image" data-chooser-image alt="" class="show-transparency" decoding="async" height="{{ preview.height }}" src="{{ preview.url }}" width="{{ preview.width }}">
<img class="chooser__image show-transparency" data-chooser-image alt="" decoding="async" height="{{ preview.height }}" src="{{ preview.url }}" width="{{ preview.width }}">
{% endblock chosen_icon %}