toodego: use new asset_css_url for tile images
This commit is contained in:
parent
a64f045515
commit
b9c8044cd9
|
@ -3,12 +3,12 @@
|
|||
{% with producer_logo="logo:"|add:producer.slug picture="wcs:form:picture:"|add:cell.formdef_reference logo="wcs:form:logo:"|add:cell.formdef_reference %}
|
||||
<a href="{{url}}tryauth" class="tile-link">
|
||||
<div class="tile {{producer.slug}}">
|
||||
<div class="tile-picture" style="background-image: url({% asset_url picture size="300x300" crop="center" %})"></div>
|
||||
<div class="tile-picture" style="background-image: {% asset_css_url picture size="300x300" crop="center" %}"></div>
|
||||
<div class="tile-head">
|
||||
<div class="tile-title">
|
||||
<h2>{{title}}</h2>
|
||||
<h3>{{ producer.label }}</h3>
|
||||
<span class="producer" style="background-image: url({% asset_url logo producer_logo %})">{{ producer.label }}</span>
|
||||
<span class="producer" style="background-image: {% asset_css_url logo producer_logo %}">{{ producer.label }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tile-content">
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
{% with logo="logo:"|add:producer.slug picture="picture:"|add:producer.slug %}
|
||||
<a href="{{url}}" class="tile-link">
|
||||
<div class="tile {{producer.slug}}">
|
||||
<div class="tile-picture" style="background-image: url({% asset_url cell.link_page.picture picture size="300x300" crop="center" %})"></div>
|
||||
<div class="tile-picture" style="background-image: {% asset_css_url cell.link_page.picture picture size="300x300" crop="center" %}"></div>
|
||||
<div class="tile-head">
|
||||
<div class="tile-title">
|
||||
<h2>{{title}}</h2>
|
||||
<h3>{{ producer.label }}</h3>
|
||||
<span class="producer" style="background-image: url({% asset_url logo %})">{{ producer.label }}</span>
|
||||
<span class="producer" style="background-image: {% asset_css_url logo %}">{{ producer.label }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tile-content">
|
||||
|
|
Loading…
Reference in New Issue