2018-06-11 20:44:10 +02:00
|
|
|
|
{% load gnm assets %}
|
|
|
|
|
{% with producer=cell.extra_css_class|as_producer %}
|
|
|
|
|
{% with logo="logo:"|add:producer.slug picture="picture:"|add:producer.slug %}
|
|
|
|
|
<a href="{{url}}" class="tile-link">
|
|
|
|
|
<div class="tile {{producer.slug}}">
|
2023-02-19 17:31:44 +01:00
|
|
|
|
<div class="tile-picture" style="background-image: {% asset_css_url cell.link_page.picture picture size="300x300" crop="center" format="JPEG" %}"></div>
|
2018-06-11 20:44:10 +02:00
|
|
|
|
<div class="tile-head">
|
|
|
|
|
<div class="tile-title">
|
2023-02-01 11:30:28 +01:00
|
|
|
|
<h2 class="cell--title">{{title}}</h2>
|
2018-06-11 20:44:10 +02:00
|
|
|
|
<h3>{{ producer.label }}</h3>
|
2023-01-17 10:03:46 +01:00
|
|
|
|
{% if cell.link_page.description %}<div class="description"><p>{{ cell.link_page.description }}</p></div>{% endif %}
|
2019-07-13 22:20:22 +02:00
|
|
|
|
<span class="producer" style="background-image: {% asset_css_url logo %}">{{ producer.label }}</span>
|
2022-09-29 12:12:11 +02:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2018-06-11 20:44:10 +02:00
|
|
|
|
<div class="tile-content">
|
|
|
|
|
<div class="tile-actions">
|
2020-08-19 11:14:32 +02:00
|
|
|
|
<span class="action-more-info">Plus d’infos</span>
|
2022-09-29 12:12:11 +02:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2018-06-11 20:44:10 +02:00
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
{% endwith %}
|
|
|
|
|
{% endwith %}
|