Version 5.0.0 beta 11.1
This commit is contained in:
1 parent
264eeb97e0
commit
90e8c7e903
466 files changed
+7796
-2394
No files matched your search
@@ -1,79 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<theme name="Default" author_name="Invision Power Services, Inc" author_url="https://www.invisioncommunity.com">
|
||||
<template template_group="browse" template_name="calendarDay" template_data="$calendars, $date, $events, $tomorrow, $yesterday, $today, $thisCalendar, $jump" template_location="front" template_app="calendar"><![CDATA[
|
||||
<div class=''>
|
||||
<div class='ipsPager cCalendarNav i-padding-block_2 i-padding-inline_3 i-background_2 i-border-start-start-radius_box i-border-start-end-radius_box'>
|
||||
<div class='ipsPager_prev'>
|
||||
<a href="{{if $thisCalendar}}{url="app=calendar&module=calendar&controller=view&id={$thisCalendar->_id}&y={$yesterday->year}&m={$yesterday->mon}&d={$yesterday->mday}" seoTemplate="calendar_calday" seoTitle="$thisCalendar->title_seo"}{{else}}{url="app=calendar&module=calendar&controller=view&y={$yesterday->year}&m={$yesterday->mon}&d={$yesterday->mday}" seoTemplate="calendar_day"}{{endif}}" title='{lang="cal_month_day" sprintf="$yesterday->monthName, $yesterday->mday, $yesterday->year"}' rel='prev nofollow' data-action='changeView'>
|
||||
<span class='ipsPager_type'>{lang="cal_month_day_noyear" sprintf="$yesterday->monthName, $yesterday->mday"}</span>
|
||||
<span class='ipsPager_title'>{$yesterday->year}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class='ipsPager_center cCalendarNav' data-role='calendarNav'>
|
||||
<h1 class='ipsTitle ipsTitle--h3'>{lang="cal_month_day" sprintf="$date->monthName, $date->mday, $date->year"}</h1>
|
||||
</div>
|
||||
<div class='ipsPager_next'>
|
||||
<a href="{{if $thisCalendar}}{url="app=calendar&module=calendar&controller=view&id={$thisCalendar->_id}&y={$tomorrow->year}&m={$tomorrow->mon}&d={$tomorrow->mday}" seoTemplate="calendar_calday" seoTitle="$thisCalendar->title_seo"}{{else}}{url="app=calendar&module=calendar&controller=view&y={$tomorrow->year}&m={$tomorrow->mon}&d={$tomorrow->mday}" seoTemplate="calendar_day"}{{endif}}" title='{lang="cal_month_day" sprintf="$tomorrow->monthName, $tomorrow->mday, $tomorrow->year"}' rel='next nofollow' data-action='changeView'>
|
||||
<span class='ipsPager_type'>{lang="cal_month_day_noyear" sprintf="$tomorrow->monthName, $tomorrow->mday"}</span>
|
||||
<span class='ipsPager_title'>{$tomorrow->year}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class='ipsPager cCalendarNav i-padding-block_2 i-padding-inline_3 i-background_2 i-border-start-start-radius_box i-border-start-end-radius_box'>
|
||||
<div class='ipsPager_prev'>
|
||||
<a href="{{if $thisCalendar}}{url="app=calendar&module=calendar&controller=view&id={$thisCalendar->_id}&y={$yesterday->year}&m={$yesterday->mon}&d={$yesterday->mday}" seoTemplate="calendar_calday" seoTitle="$thisCalendar->title_seo"}{{else}}{url="app=calendar&module=calendar&controller=view&y={$yesterday->year}&m={$yesterday->mon}&d={$yesterday->mday}" seoTemplate="calendar_day"}{{endif}}" title='{lang="cal_month_day" sprintf="$yesterday->monthName, $yesterday->mday, $yesterday->year"}' rel='prev nofollow' data-action='changeView'>
|
||||
<span class='ipsPager_type'>{lang="cal_month_day_noyear" sprintf="$yesterday->monthName, $yesterday->mday"}</span>
|
||||
<span class='ipsPager_title'>{$yesterday->year}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class='ipsPager_center cCalendarNav' data-role='calendarNav'>
|
||||
<h1 class='ipsTitle ipsTitle--h3'>{lang="cal_month_day" sprintf="$date->monthName, $date->mday, $date->year"}</h1>
|
||||
</div>
|
||||
<div class='ipsPager_next'>
|
||||
<a href="{{if $thisCalendar}}{url="app=calendar&module=calendar&controller=view&id={$thisCalendar->_id}&y={$tomorrow->year}&m={$tomorrow->mon}&d={$tomorrow->mday}" seoTemplate="calendar_calday" seoTitle="$thisCalendar->title_seo"}{{else}}{url="app=calendar&module=calendar&controller=view&y={$tomorrow->year}&m={$tomorrow->mon}&d={$tomorrow->mday}" seoTemplate="calendar_day"}{{endif}}" title='{lang="cal_month_day" sprintf="$tomorrow->monthName, $tomorrow->mday, $tomorrow->year"}' rel='next nofollow' data-action='changeView'>
|
||||
<span class='ipsPager_type'>{lang="cal_month_day_noyear" sprintf="$tomorrow->monthName, $tomorrow->mday"}</span>
|
||||
<span class='ipsPager_title'>{$tomorrow->year}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=''>
|
||||
|
||||
<div class=''>
|
||||
<h2 class='ipsTitle ipsTitle--h4 ipsTitle--padding'>{lang="events_happening_today"}</h2>
|
||||
{{if $events['count'] > 0}}
|
||||
<ol class='cCalendarDay ipsData'>
|
||||
{{if isset( $events['allDay'] ) && \count( $events['allDay'] )}}
|
||||
<li class='ipsData__item cCalendarDay_allDay'>
|
||||
<div class='i-basis_140 cCalendarDay_hour'>
|
||||
<h2 class='i-font-weight_600 i-color_hard i-font-size_4'>{lang="day_view_all_day"}</h2>
|
||||
</div>
|
||||
<div class='ipsData__main'>
|
||||
<ul class='ipsGrid ipsGrid--event-daily i-basis_300'>
|
||||
{{foreach $events['allDay'] as $event}}
|
||||
<li>
|
||||
{template="eventBlock" app="calendar" group="view" params="$event, $date, true"}
|
||||
</li>
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{{endif}}
|
||||
|
||||
{{foreach $events as $hour => $hourEvents}}
|
||||
{{if !empty( $hourEvents ) && $hour !== 'allDay' && $hour !== 'count'}}
|
||||
<li class='ipsData__item'>
|
||||
<div class='i-basis_140 cCalendarDay_hour'>
|
||||
<h2 class='i-font-weight_600 i-color_hard i-font-size_4'>
|
||||
{{if \IPS\calendar\Date::usesAmPm()}}
|
||||
{expression="\IPS\calendar\Date::getTwelveHour( $hour )"}<span>{expression="\IPS\calendar\Date::getAmPm( $hour )"}</span>
|
||||
{{else}}
|
||||
{$hour}<span>:00</span>
|
||||
{{endif}}
|
||||
</h2>
|
||||
</div>
|
||||
<div class='ipsData__main'>
|
||||
<ul class='ipsGrid ipsGrid--event-daily i-basis_300'>
|
||||
{{foreach $hourEvents as $idx => $event}}
|
||||
<li>
|
||||
{template="eventBlock" app="calendar" group="view" params="$event, $date, true"}
|
||||
</li>
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{{endif}}
|
||||
{{if $events['count'] > 0}}
|
||||
{{if isset( $events['allDay'] ) && \count( $events['allDay'] )}}
|
||||
<h2 class='ipsTitle ipsTitle--h4 ipsTitle--padding i-background_2'>{lang="day_view_all_day"}</h2>
|
||||
<i-data>
|
||||
<ol class='ipsData ipsData--featured ipsData--calendarAllDay'>
|
||||
{{foreach $events['allDay'] as $event}}
|
||||
{template="eventBlock" app="calendar" group="view" params="$event, $date, true"}
|
||||
{{endforeach}}
|
||||
</ol>
|
||||
</i-data>
|
||||
{{endif}}
|
||||
{{foreach $events as $hour => $hourEvents}}
|
||||
{{if !empty( $hourEvents ) && $hour !== 'allDay' && $hour !== 'count'}}
|
||||
<h2 class='ipsTitle ipsTitle--h4 ipsTitle--padding i-background_2'>
|
||||
{{if \IPS\calendar\Date::usesAmPm()}}
|
||||
{expression="\IPS\calendar\Date::getTwelveHour( $hour )"}<span>{expression="\IPS\calendar\Date::getAmPm( $hour )"}</span>
|
||||
{{else}}
|
||||
{$hour}<span>:00</span>
|
||||
{{endif}}
|
||||
</h2>
|
||||
<i-data>
|
||||
<ol class='ipsData ipsData--featured ipsData--calendarHourly'>
|
||||
{{foreach $hourEvents as $idx => $event}}
|
||||
{template="eventBlock" app="calendar" group="view" params="$event, $date, true"}
|
||||
{{endforeach}}
|
||||
</ol>
|
||||
{{else}}
|
||||
<div class='ipsEmptyMessage'>{lang="no_events_today"}</div>
|
||||
{{endif}}
|
||||
</div>
|
||||
</div>
|
||||
</div>]]></template>
|
||||
</i-data>
|
||||
{{endif}}
|
||||
{{endforeach}}
|
||||
{{else}}
|
||||
<div class='ipsEmptyMessage'>{lang="no_events_today"}</div>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="browse" template_name="calendarHeader" template_data="$calendars, $thisCalendar, $jump, $downloadLinks" template_location="front" template_app="calendar"><![CDATA[
|
||||
{{if $thisCalendar and $club = $thisCalendar->club()}}
|
||||
{{if settings.clubs and settings.clubs_header == 'full'}}
|
||||
@@ -983,24 +960,17 @@
|
||||
{lang="in"} <a href="{$row->container()->url()}">{$row->container()->_title}</a>
|
||||
</div>
|
||||
{{endif}}
|
||||
<ul class="ipsList ipsList--inline i-row-gap_0 i-margin-top_1 i-font-weight_500">
|
||||
<li title='{lang="follow_how"}' data-role='followFrequency'>
|
||||
{{if $row->_followData['follow_notify_freq'] == 'none'}}
|
||||
<i class='fa-regular fa-bell-slash'></i>
|
||||
{{else}}
|
||||
<i class='fa-regular fa-bell'></i>
|
||||
{{endif}} {lang="follow_freq_{$row->_followData['follow_notify_freq']}"}
|
||||
</li>
|
||||
<li data-role='followAnonymous' {{if !$row->_followData['follow_is_anon']}}hidden{{endif}}><i class="fa-regular fa-eye-slash"></i> {lang="follow_is_anon"}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{if $row->_followData['follow_is_anon']}}
|
||||
<div class='cFollowedContent_anon'>
|
||||
<span class='ipsBadge ipsBadge--icon' data-role='followAnonymous' data-ipsTooltip title='{lang="follow_is_anon"}'><i class='fa-solid fa-eye-slash'></i></span>
|
||||
</div>
|
||||
{{endif}}
|
||||
|
||||
<ul class='ipsData__followedInfo'>
|
||||
<li class='i-color_hard i-font-weight_500' title='{lang="follow_when"}' data-role='followDate'><i class='fa-regular fa-clock'></i> {datetime="$row->_followData['follow_added']"}</li>
|
||||
<li class='i-color_soft' title='{lang="follow_how"}' data-role='followFrequency'>
|
||||
{{if $row->_followData['follow_notify_freq'] == 'none'}}
|
||||
<i class='fa-regular fa-bell-slash'></i>
|
||||
{{else}}
|
||||
<i class='fa-solid fa-bell'></i>
|
||||
{{endif}} {lang="follow_freq_{$row->_followData['follow_notify_freq']}"}
|
||||
</li>
|
||||
</ul>
|
||||
<div class='cFollowedContent_manage'>
|
||||
{template="manageFollow" group="system" app="core" params="$row->_followData['follow_app'], $row->_followData['follow_area'], $row->_followData['follow_rel_id']"}
|
||||
</div>
|
||||
@@ -1891,85 +1861,97 @@
|
||||
</div>
|
||||
</div>]]></template>
|
||||
<template template_group="view" template_name="eventBlock" template_data="$event, $date, $truncate=FALSE, $map=array( 300, 200 ), $revertToFirst=FALSE" template_location="front" template_app="calendar"><![CDATA[{{$coverPhoto = $event->coverPhoto();}}
|
||||
<div class='cCalendarBlock i-background_1 ipsInnerBox {$event->ui( 'css' )}' {$event->ui( 'dataAttributes' )}>
|
||||
<div class='ipsCoverPhoto' data-controller='core.global.core.coverPhoto' data-coverOffset='{$coverPhoto->offset}' style='--offset:{$coverPhoto->offset}'>
|
||||
{{if $coverPhoto->file}}
|
||||
<div class='ipsCoverPhoto__container'>
|
||||
<img src='{$coverPhoto->file->url}' class='ipsCoverPhoto__image' alt='{$event->title}' loading='lazy'>
|
||||
</div>
|
||||
{{endif}}
|
||||
<div class='ipsColumns'>
|
||||
<div class='ipsColumns__secondary i-basis_50'>
|
||||
<li class="ipsData__item {$event->ui('css')}" data-eventID='{$event->id}' {$event->ui( 'dataAttributes' )}>
|
||||
<a href="{$event->url( 'getPrefComment' )}" class="ipsLinkPanel" aria-hidden="true" tabindex="-1"><span>{$event->title}</span></a>
|
||||
<div class="ipsData__image">
|
||||
<a href="{$event->url( 'getPrefComment' )}" class='ipsCoverPhoto' data-controller='core.global.core.coverPhoto' data-coverOffset='{$coverPhoto->offset}' style='--offset:{$coverPhoto->offset}' aria-hidden="true" tabindex="-1">
|
||||
{{if $coverPhoto->file}}
|
||||
<div class='ipsCoverPhoto__container'>
|
||||
<img src='{$coverPhoto->file->url}' class='ipsCoverPhoto__image' alt='{$event->title}' loading='lazy'>
|
||||
</div>
|
||||
{{endif}}
|
||||
</a>
|
||||
</div>
|
||||
<div class="ipsData__content">
|
||||
<div class="ipsData__main">
|
||||
<div class="ipsPhotoPanel i-margin-bottom_2">
|
||||
<div class='ipsUserPhoto ipsUserPhoto--mini'>
|
||||
<img src='{$event->author()->photo}' alt='' loading='lazy'>
|
||||
</div>
|
||||
<div class="ipsPhotoPanel__text">
|
||||
<p class="i-color_primary i-font-weight_500 i-font-size_-2 i-text-transform_uppercase i-margin-bottom_1">
|
||||
{{$startDate = $event->nextOccurrence( $date, 'startDate' );}}
|
||||
{{if $revertToFirst AND $startDate AND $startDate->mon > $date->mon}}
|
||||
{{$startDate = $event->nextOccurrence( \IPS\calendar\Date::getDate( $date->year, $date->mon, 1 ), 'startDate' );}}
|
||||
{{endif}}
|
||||
{{if $startDate}}
|
||||
{{$nextEndDate = $event->nextOccurrence( $startDate ?: $date, 'endDate' );}}
|
||||
{{$sameDay = ( $nextEndDate AND $startDate->calendarDate() == $nextEndDate->calendarDate() );}}
|
||||
{$startDate->calendarDate()}{{if !$event->all_day}} {$startDate->localeTime( FALSE )} {{endif}}
|
||||
{{if $event->_end_date AND $event->nextOccurrence( $startDate ?: $date, 'endDate' ) }}
|
||||
<span class="i-opacity_4"><i class="fa-solid fa-arrow-right-long" style="margin-inline:.5em;"></i></span>
|
||||
{{if !$sameDay}}
|
||||
{$event->nextOccurrence( $startDate ?: $date, 'endDate' )->calendarDate()}
|
||||
{{endif}}
|
||||
{{if !$event->all_day}}
|
||||
{{if !$sameDay}} {{endif}}
|
||||
{$event->nextOccurrence( $startDate ?: $date, 'endDate' )->localeTime( FALSE )}
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
{{else}}
|
||||
{$event->lastOccurrence( 'startDate' )->calendarDate()}{{if !$event->all_day}} {$event->lastOccurrence( 'startDate' )->localeTime( FALSE )} {{endif}}
|
||||
{{if $event->_end_date AND $event->lastOccurrence( 'endDate' ) }}
|
||||
<span class="i-opacity_4"><i class="fa-solid fa-arrow-right-long" style="margin-inline:.5em;"></i></span>{$event->lastOccurrence( 'endDate' )->calendarDate()}{{if !$event->all_day}} {$event->lastOccurrence( 'endDate' )->localeTime( FALSE )}{{endif}}
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
</p>
|
||||
<h2 class='ipsData__title'>
|
||||
<div class="ipsBadges">
|
||||
{{if $event->hidden() === 1}}<span class="ipsBadge ipsBadge--icon ipsBadge--warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa-solid fa-triangle-exclamation'></i></span>{{endif}}
|
||||
</div>
|
||||
<a href='{$event->url( "getPrefComment" )}' title='{$event->title}'>{$event->title}</a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class='ipsColumns__primary'>
|
||||
<h2 class='ipsTitle ipsTitle--h3 ipsPageHead_barText ipsPageHead_barText_small'><a href='{$event->url( "getPrefComment" )}' title='{$event->title}'>{truncate="$event->title" length="18"}{{if $event->hidden() === 1}} <span class="ipsBadge ipsBadge--icon ipsBadge--warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa-solid fa-triangle-exclamation'></i></span>{{endif}}</a></h2>
|
||||
<div>
|
||||
<div class="ipsColumns">
|
||||
<div class="ipsColumns__primary">
|
||||
{{if $event->recurring}}<p class='i-color_soft i-margin-bottom_2'>{$event->_recurring_text}</p>{{endif}}
|
||||
<div class='ipsRichText {{if ( \IPS\Request::i()->isAjax() or $truncate ) && $event->content}} ipsTruncate_3{{endif}}'>
|
||||
{{if $event->content}}
|
||||
{{if \IPS\Request::i()->isAjax() or $truncate}}
|
||||
{$event->truncated()|raw}
|
||||
{{else}}
|
||||
{$event->content|raw}
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
<p class='ipsRichText i-margin-block_2'><a href='{$event->url( "getPrefComment" )}'>{lang="event_details"}</a></p>
|
||||
</div>
|
||||
{{if $event->rsvp }}
|
||||
<h4 class="i-font-weight_500 i-margin-top_3">{lang="event_rsvp_attendees_list" pluralize="$event->attendeeCount( \IPS\calendar\Event::RSVP_YES )"}</h4>
|
||||
{{if \count( $event->attendees( \IPS\calendar\Event::RSVP_YES, 5 ) )}}
|
||||
<ul class='ipsCaterpillar i-margin-top_2'>
|
||||
{{foreach $event->attendees( \IPS\calendar\Event::RSVP_YES, 5 ) as $attendee}}
|
||||
<li>{template="userPhoto" app="core" group="global" params="$attendee, 'tiny'"}</li>
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
</div>
|
||||
{{if $map !== FALSE AND $event->map( $map[0], $map[1] )}}
|
||||
<div class='ipsColumns__secondary i-basis_300 cCalendarBlock_map'>
|
||||
{$event->map( $map[0], $map[1] )|raw}
|
||||
</div>
|
||||
{{endif}}
|
||||
</div>
|
||||
<div class="i-flex i-flex-wrap_wrap i-gap_3 i-align-items_center i-margin-top_3">
|
||||
<a href='{$event->container()->url()}' class='cEvents_event cEvents_eventSmall cEvents_style{$event->container()->id} i-margin-end_auto'>{$event->container()->_title}</a>
|
||||
{{if $event->container()->allow_comments}}<a href='{$event->url()->setQueryString( 'tab', 'comments' )}' class="i-color_soft">{lang="event_comment_count" pluralize="$event->comments"}</a>{{endif}}
|
||||
{{if $event->container()->allow_reviews}}<a href='{$event->url()->setQueryString( 'tab', 'reviews' )}' class="i-color_soft">{lang="event_review_count" pluralize="$event->reviews"}</a>{{endif}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class='i-padding_3'>
|
||||
<h3>
|
||||
{{$startDate = $event->nextOccurrence( $date, 'startDate' );}}
|
||||
{{if $revertToFirst AND $startDate AND $startDate->mon > $date->mon}}
|
||||
{{$startDate = $event->nextOccurrence( \IPS\calendar\Date::getDate( $date->year, $date->mon, 1 ), 'startDate' );}}
|
||||
{{endif}}
|
||||
{{if $startDate}}
|
||||
{{$nextEndDate = $event->nextOccurrence( $startDate ?: $date, 'endDate' );}}
|
||||
{{$sameDay = ( $nextEndDate AND $startDate->calendarDate() == $nextEndDate->calendarDate() );}}
|
||||
{$startDate->calendarDate()}{{if !$event->all_day}} {$startDate->localeTime( FALSE )} {{endif}}
|
||||
{{if $event->_end_date AND $event->nextOccurrence( $startDate ?: $date, 'endDate' ) }}
|
||||
<i class='fa-solid fa-circle-arrow-right i-font-size_2 i-color_soft'></i>
|
||||
{{if !$sameDay}}
|
||||
{$event->nextOccurrence( $startDate ?: $date, 'endDate' )->calendarDate()}
|
||||
{{endif}}
|
||||
{{if !$event->all_day}}
|
||||
{{if !$sameDay}} {{endif}}
|
||||
{$event->nextOccurrence( $startDate ?: $date, 'endDate' )->localeTime( FALSE )}
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
{{else}}
|
||||
{$event->lastOccurrence( 'startDate' )->calendarDate()}{{if !$event->all_day}} {$event->lastOccurrence( 'startDate' )->localeTime( FALSE )} {{endif}}
|
||||
{{if $event->_end_date AND $event->lastOccurrence( 'endDate' ) }}
|
||||
<i class='fa-solid fa-circle-arrow-right i-font-size_2 i-color_soft'></i> {$event->lastOccurrence( 'endDate' )->calendarDate()}{{if !$event->all_day}} {$event->lastOccurrence( 'endDate' )->localeTime( FALSE )}{{endif}}
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
</h3>
|
||||
{{if $event->recurring}}<p class='i-color_soft'>{$event->_recurring_text}</p><br>{{endif}}
|
||||
<div class='ipsRichText {{if ( \IPS\Request::i()->isAjax() or $truncate ) && $event->content}} ipsTruncate_5{{endif}}'>
|
||||
{{if $event->content}}
|
||||
{{if \IPS\Request::i()->isAjax() or $truncate}}
|
||||
{$event->truncated()|raw}
|
||||
{{else}}
|
||||
{$event->content|raw}
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
<p class='ipsRichText i-margin-block_2'><a href='{$event->url( "getPrefComment" )}'>{lang="event_details"}</a></p>
|
||||
</div>
|
||||
{{if $map !== FALSE AND $event->map( $map[0], $map[1] )}}
|
||||
<div class='cCalendarBlock_map'>
|
||||
{$event->map( $map[0], $map[1] )|raw}
|
||||
</div>
|
||||
{{endif}}
|
||||
<br>
|
||||
<a href='{$event->container()->url()}' class='cEvents_event cEvents_eventSmall cEvents_style{$event->container()->id}'>{$event->container()->_title}</a>
|
||||
{{if $event->container()->allow_comments}}<a href='{$event->url()->setQueryString( 'tab', 'comments' )}'>{lang="event_comment_count" pluralize="$event->comments"}</a>{{endif}}
|
||||
{{if $event->container()->allow_comments AND $event->container()->allow_reviews}}·{{endif}}
|
||||
{{if $event->container()->allow_reviews}}<a href='{$event->url()->setQueryString( 'tab', 'reviews' )}'>{lang="event_review_count" pluralize="$event->reviews"}</a>{{endif}}
|
||||
{{if $event->rsvp }}
|
||||
<hr class='ipsHr'>
|
||||
<h4><strong>{lang="event_rsvp_attendees_list" pluralize="$event->attendeeCount( \IPS\calendar\Event::RSVP_YES )"}</strong></h4>
|
||||
{{if \count( $event->attendees( \IPS\calendar\Event::RSVP_YES, 5 ) )}}
|
||||
<ul class='ipsList ipsList--inline i-gap_0 i-margin-top_2'>
|
||||
{{foreach $event->attendees( \IPS\calendar\Event::RSVP_YES, 5 ) as $attendee}}
|
||||
<li>{template="userPhoto" app="core" group="global" params="$attendee, 'tiny'"}</li>
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
</div>
|
||||
{{if settings.core_datalayer_enabled}}
|
||||
<script>
|
||||
$('body').trigger( 'ipsDataLayer', {
|
||||
@@ -1983,7 +1965,7 @@
|
||||
} )
|
||||
</script>
|
||||
{{endif}}
|
||||
</div>]]></template>
|
||||
</li>]]></template>
|
||||
<template template_group="view" template_name="eventBlocks" template_data="$events" template_location="front" template_app="calendar"><![CDATA[
|
||||
<ul class="ipsGrid ipsGrid--auto-fit i-basis_340 i-gap_4">
|
||||
{{foreach $events as $event}}
|
||||
@@ -2911,7 +2893,6 @@ tr td:not(:first-child):not(.cCalendar_firstDay) .cEvents_ranged .cEvents_event:
|
||||
|
||||
.cCalendarBlock_map {
|
||||
text-align: center;
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
.cCalendar_shortInput {
|
||||
|
||||
Reference in new issue
Block a user