{{if $event->container()->allow_comments && $orientation == 'vertical'}}
{{endif}}
{{if $event->nextOccurrence( $today, 'startDate' )}}
{$event->nextOccurrence( $today, 'startDate' )->calendarDate()}{{if !$event->all_day}} {$event->nextOccurrence( $today, 'startDate' )->localeTime( FALSE )} {{endif}}
{{if $event->nextOccurrence( $event->nextOccurrence( $today, 'startDate' ) ?: $today, 'endDate' ) }}
{{if $orientation == 'vertical'}}
{{endif}}
{lang="until"}{{if $orientation == 'vertical'}}
{{endif}}
{$event->nextOccurrence( $event->nextOccurrence( $today, 'startDate' ) ?: $today, 'endDate' )->calendarDate()}{{if !$event->all_day}} {$event->nextOccurrence( $event->nextOccurrence( $today, 'startDate' ) ?: $today, 'endDate' )->localeTime( FALSE )}{{endif}}
{{endif}}
{{else}}
{$event->lastOccurrence( 'startDate' )->calendarDate()}{{if !$event->all_day}} {$event->lastOccurrence( 'startDate' )->localeTime( FALSE )} {{endif}}
{{if $event->lastOccurrence( 'endDate' ) }}
{{if $orientation == 'vertical'}}
{{endif}}
{lang="until"}{{if $orientation == 'vertical'}}
{{endif}}
{$event->lastOccurrence( 'endDate' )->calendarDate()}{{if !$event->all_day}} {$event->lastOccurrence( 'endDate' )->localeTime( FALSE )}{{endif}}
{{endif}}
{{endif}}
{{if $event->container()->allow_comments && $orientation == 'horizontal'}}
{{endif}}
{{if $orientation == 'horizontal'}}
{$event->truncated()|raw}
{{endif}}