{% load dashboard static thumbnail %} {% load combo assets %} {% if not in_dashboard %}

{{json.meta.label}}

{% if json.meta.description %}
{{json.meta.description}}
{% endif %}
{% with tile=cell|as_dashboard_cell:request.user %} {% endwith %}
{% else %} {% for actu in json.data %}
{% thumbnail actu.image.download "160x160" crop="50% 25%" as im %} {% endthumbnail %} {% if not actu.image %} {% endif %}

{{actu.title}}

{{json.meta.label}} - {{ actu.created|slice:19|parse_date|date:"d/m/Y" }}

{{actu.description|truncatechars:200|safe|escape}}

{% endfor %} {% if json.data %} {% endif %} {% endif %}