mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-20 21:11:55 +00:00
Fixes #1798. Adds transparency indicator to places it was missing
This commit is contained in:
parent
d7a6e2d4ac
commit
6695c2b48c
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@
|
|||
{% for image in images %}
|
||||
<li>
|
||||
<a class="image-choice" href="{% if will_select_format %}{% url 'wagtailimages:chooser_select_format' image.id %}{% else %}{% url 'wagtailimages:image_chosen' image.id %}{% endif %}">
|
||||
<div class="image">{% image image max-165x165 %}</div>
|
||||
<div class="image">{% image image max-165x165 class="show-transparency" %}</div>
|
||||
<h3>{{ image.title|ellipsistrim:60 }}</h3>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
{% block chosen_state_view %}
|
||||
<div class="preview-image">
|
||||
{% if image %}
|
||||
{% image image max-165x165 %}
|
||||
{% image image max-165x165 class="show-transparency" %}
|
||||
{% else %}
|
||||
<img>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue