{% load i18n %}
{% block newsbox_list_item_header %}

{{ object.newsbox_title }} {% if object.newsbox_date and object.newsbox_date != object.newsbox_publication_start_date %} {% endif %}

{% endblock %}
{% block newsbox_list_item_content %}
{% with summary_max_words=summary_max_words|default:50 summary=summary|default:object.newsbox_summary|default:object.newsbox_body %} {% if summary_max_words and summary_max_words != '0' %} {{ summary|truncatewords_html:summary_max_words }} {% else %} {{ summary }} {% endif %} {% endwith %}
{% endblock %} {% block newsbox_list_item_footer %} {% with readmore=readmore|default:object.newsbox_body %} {% if object.newsbox_publication_start_date or readmore %} {% endif %} {% endwith %} {% endblock newsbox_list_item_footer %}