kopia lustrzana https://github.com/wagtail/wagtail
Fix duplicate class attribute in image chooser (#12245)
rodzic
7582a9932a
commit
d0098f394d
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
{% block chosen_icon %}
|
||||
{# Empty alt because the chosen item’s 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 %}
|
||||
|
|
Ładowanie…
Reference in New Issue