{% extends "cms/base.html" %} {% load thumbnail %} {% load static %} {% load i18n %} {% load cms_tags %} {% load menu_tags %} {% block title_tag %}{{ article.get_meta_title }}{% endblock title_tag %} {% block seo_meta_tags %} {% if article.get_meta_title %} {% endif %} {% if article.get_meta_description %} {% endif %} {% thumbnail article.image 'social_share' as thumb %} {% endblock seo_meta_tags %} {% block body_id %}id_news{% endblock body_id %} {% block cms_breadcrumb %} {% endblock cms_breadcrumb %} {% block cms_title %}

{% if not article.is_displayed and request.user.is_staff %}{% trans "Draft" %} {% endif %}{% render_model article "title" None None "striptags" %} {% render_model_icon object %}

{% endblock cms_title %} {% block cms_content %}
{% block article_body %} {% render_placeholder article.body_placeholder %} {% block article_author %}
{% if article.get_author_name %} {% else %} {% endif %} {% if article.changed_date %} {% blocktrans with changed_date=article.changed_date|date:"SHORT_DATE_FORMAT" changed_time=article.changed_date|time:"H:i" trimmed %} and updated on {{ changed_date }} at {{ changed_time }}{% endblocktrans %} {% endif %}
{% endblock article_author %} {% endblock article_body %}
{% block sidebar %} {% block event_dates %} {% if article.event_start_date %}

{% include "kapt_templates/partials/date_range.html" with start_date=article.event_start_date end_date=article.event_end_date %}
{% include "kapt_templates/partials/time_range.html" with start_date=article.event_start_date end_date=article.event_end_date %}

{% endif %} {% endblock event_dates %} {% block event_infos %} {% if article.place or article.address or article.locality or article.contact_name or article.contact_phone or article.contact_email or article.information_link %}
{% if article.place or article.address or article.locality %}
{% trans "Address" %}
{% if article.place %}{{ article.place }}
{% endif %} {% if article.address %}{{ article.address }}
{% endif %} {% if article.locality %}{{ article.locality }}{% endif %}
{% endif %} {% if article.contact_name or article.contact_phone or article.contact_email %}
{% trans "Contact" %}
{% if article.contact_name %}{{ article.contact_name }}
{% endif %} {% if article.contact_phone %}{{ article.contact_phone }}
{% endif %} {% if article.contact_email %}{{ article.contact_email|urlize }}{% endif %}
{% endif %} {% if article.information_link %}
{% trans "Website" %}
{{ article.information_link|urlizetrunc:30 }}
{% endif %}
{% endif %} {% endblock event_infos %} {% endblock sidebar %}
{% endblock cms_content %}