mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Handle media_url of embedded images in simple mail renderer better for instances with dedicated media-hosts
This commit is contained in:
@@ -172,8 +172,13 @@
|
|||||||
<!--[if !mso]><!-- -->
|
<!--[if !mso]><!-- -->
|
||||||
<tr>
|
<tr>
|
||||||
<td style="line-height: 0" align="center">
|
<td style="line-height: 0" align="center">
|
||||||
<img src="{{ site_url }}{{ event.settings.logo_image|thumb:'5000x120' }}" alt="{{ event.name }}"
|
{% if event.settings.logo_image|thumb:'5000x120'|first == '/' %}
|
||||||
style="height: auto; max-width: 100%;" />
|
<img src="{{ site_url }}{{ event.settings.logo_image|thumb:'5000x120' }}" alt="{{ event.name }}"
|
||||||
|
style="height: auto; max-width: 100%;" />
|
||||||
|
{% else %}
|
||||||
|
<img src="{{ event.settings.logo_image|thumb:'5000x120' }}" alt="{{ event.name }}"
|
||||||
|
style="height: auto; max-width: 100%;" />
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--<![endif]-->
|
<!--<![endif]-->
|
||||||
|
|||||||
Reference in New Issue
Block a user