{% endif %}
</div>
{% elif body.content_type.model == 'event' %}
- {% trans 'Event' %}
+ <div class="article-box__tags">
+ <div class="tag tag--small tag--category">
+ {% if body.content_object.category %}
+ {{ body.content_object.category }}
+ {% else %}
+ {% trans 'Event' %}
+ {% endif %}
+ </div>
+ </div>
{% endif %}
</div>
{% if body.content_object.end %}
{% trans "From" %}
{% endif %}
- {{ body.content_object.start }}
+ {{ body.content_object.start|date:"DATE_FORMAT" }}
{% if body.content_object.end %}
- {% trans "to" %} {{ body.content_object.end }}
+ {% trans "to" %} {{ body.content_object.end|date:"DATE_FORMAT" }}
{% endif %}
{% endif %}
{% if body.content_object.location %}
- {{ body.content_object.location }}
+ <br /><strong>{{ body.content_object.location }}</strong>
{% endif %}
{% endif %}
</div>
</div>
{% elif slider.content_type.model == 'event' %}
<div class="tag tag--category">
- {% trans 'Event' %}
+ {% if slider.content_object.category %}
+ {{ slider.content_object.category }}
+ {% else %}
+ {% trans 'Event' %}
+ {% endif %}
</div>
{% endif %}
{% if slider.content_object.end %}
{% trans "From" %}
{% endif %}
- {{ slider.content_object.start }}
+ {{ slider.content_object.start|date:"DATE_FORMAT" }}
{% if slider.content_object.end %}
- {% trans "to" %} {{ slider.content_object.end }}
+ {% trans "to" %} {{ slider.content_object.end|date:"DATE_FORMAT" }}
{% endif %}
{% endif %}
+ {% if slider.content_object.location %}
+ <br /><strong>{{ slider.content_object.location }}</strong>
+ {% endif %}
</div>
<div class="article-box__desc">
{{ slider.content_object.description|richtext_filters|safe|truncatechars_html:200 }}