{# /** * @file * Template to display view fields as a calendar item. * * - item * A result object for this calendar item. Note this is * not a complete entity. It will contain various * values as added by the row plugin, which may depend * on the entity type. * * - rendered_fields * An array of the rendered html for the fields in the item, * as generated by Views. This does not include excluded * fields and should take into account any special processing * added in the field settings. * * Calendar info for this individual calendar item is in local time -- * the user timezone where configurable timezones are allowed and set, * otherwise the site timezone. If this item has extends over more than * one day, it has been broken apart into separate items for each calendar * date and calendar_start will be no earlier than the start of * the current day and calendar_end will be no later than the end * of the current day. * * - calendar_start - A formatted datetime start date for this item. * i.e. '2008-05-12 05:26:15'. * - calendar_end - A formatted datetime end date for this item, * the same as the start date except for fields that have from/to * fields defined, like Date module dates. * - calendar_start_date - a PHP date object for the start time. * - calendar_end_date - a PHP date object for the end time. * * @see template_preprocess_calendar_item. */ #}
{{ item | calendar_stripe }}
{% for field in rendered_fields %} {% if (index + 1) == 0 and item.continuation %}
«
{% endif %} {% for field_html in field %} {{ field_html }} {% endfor %} {% endfor %}
{% if item.continues %}
»
{% else %}
 
{% endif %}