{% load i18n creme_widgets %} {% if activities %}
{% translate 'Next action' %} {% with next_activity=activities.next %} {% if next_activity %} {% widget_icon instance=next_activity size='brick-hat-card-summary' %} {{next_activity.type}} {{next_activity.start|date:'DATE_FORMAT'}}{% if next_activity.floating_type == activities.NARROW %} {% translate 'at' %} {{next_activity.start|time:'H:i'}}{% endif %} {% else %} — {% endif %} {% endwith %}
{% endif %}