{% import '@OroUI/macros.html.twig' as UI %} {% import '@OroActivity/macros.html.twig' as AC %}
{# Display contexts targets in the activity list item view #} {% if renderContexts is defined and renderContexts %}
{{ AC.activity_contexts(entity, target, true) }}
{% endif %} {{ UI.renderProperty('oro.calendar.calendarevent.title.label'|trans, entity.title) }} {{ UI.renderSwitchableHtmlProperty('oro.calendar.calendarevent.description.label'|trans, entity.description) }} {{ UI.renderProperty('oro.calendar.calendarevent.start.label'|trans, entity.start|oro_format_datetime) }} {{ UI.renderProperty('oro.calendar.calendarevent.end.label'|trans, entity.end|oro_format_datetime) }} {{ UI.renderProperty('oro.calendar.calendarevent.all_day.label'|trans, entity.allDay ? 'Yes'|trans : 'No'|trans) }} {% if entity.recurrence %} {{ UI.renderProperty('oro.calendar.calendarevent.recurrence.label'|trans, get_recurrence_text_value(entity.recurrence)) }} {% endif %} {% if entity.recurringEvent %} {{ UI.renderProperty('oro.calendar.calendarevent.recurrence.exception.label'|trans, get_recurrence_text_value(entity.recurringEvent.recurrence)) }} {% endif %} {% if canChangeInvitationStatus %} {% include '@OroCalendar/CalendarEvent/invitationControl.html.twig' with {'entity': entity, 'triggerEventName': 'widget:doRefresh:activity-list-widget'} %} {% endif %}