Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -314,8 +314,8 @@
|
||||
{{$coverPhoto = $event->coverPhoto();}}
|
||||
{{if $coverPhoto->file}}
|
||||
{{$image = $coverPhoto->file;}}
|
||||
{{elseif $event->container()->club() !== NULL && $event->container()->club()->profile_photo}}
|
||||
{{$image = \IPS\File::get('core_Clubs', $event->container()->club()->profile_photo );}}
|
||||
{{elseif $event->container()->club() !== NULL && $event->container()->club()->cover_photo}}
|
||||
{{$image = \IPS\File::get('core_Clubs', $event->container()->club()->cover_photo );}}
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
<figure class="ipsData__image">
|
||||
@@ -483,8 +483,8 @@
|
||||
{{$coverPhoto = $event->coverPhoto();}}
|
||||
{{if $coverPhoto->file}}
|
||||
{{$image = $coverPhoto->file;}}
|
||||
{{elseif $event->container()->club() !== NULL && $event->container()->club()->profile_photo}}
|
||||
{{$image = \IPS\File::get('core_Clubs', $event->container()->club()->profile_photo );}}
|
||||
{{elseif $event->container()->club() !== NULL && $event->container()->club()->cover_photo}}
|
||||
{{$image = \IPS\File::get('core_Clubs', $event->container()->club()->cover_photo );}}
|
||||
{{endif}}
|
||||
|
||||
<li class='ipsData__item'>
|
||||
@@ -629,11 +629,13 @@
|
||||
<section class='ipsBox i-margin-bottom_block'>
|
||||
<h2 class='ipsBox__header'>{lang="events_online_events"}</h2>
|
||||
<div class='i-padding_3 i-background_2 i-border-end-start-radius_box i-border-end-end-radius_box'>
|
||||
<ul class='ipsEventList ipsData ipsData--grid ipsData--events-list'>
|
||||
{{foreach $events as $event}}
|
||||
{template="event" app="calendar" group="events" params="$event, 'small'"}
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
<i-data>
|
||||
<ul class='ipsEventList ipsData ipsData--grid ipsData--events-list'>
|
||||
{{foreach $events as $event}}
|
||||
{template="event" app="calendar" group="events" params="$event, 'small'"}
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
</i-data>
|
||||
</div>
|
||||
</section>
|
||||
{{endif}}]]></template>
|
||||
@@ -715,6 +717,13 @@
|
||||
<a href='{$url}' title='{$item->mapped('title')}' class='ipsRichEmbed_masthead'>
|
||||
<img src='{$photo->url}' alt='{$item->mapped('title')}' loading="lazy">
|
||||
</a>
|
||||
{{elseif $club = $item->container()->club()}}
|
||||
{{if $club->coverPhoto() and $club->coverPhoto()->file}}
|
||||
{{$photo = $club->coverPhoto()->file;}}
|
||||
<a href='{$url}' title='{$item->mapped('title')}' class='ipsRichEmbed_masthead'>
|
||||
<img src='{$photo->url}' alt='{$item->mapped('title')}' loading="lazy">
|
||||
</a>
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
<div class='ipsRichEmbed__content'>
|
||||
<div class='ipsColumns'>
|
||||
@@ -814,6 +823,13 @@
|
||||
<a href='{$url}' title='{$item->mapped('title')}' class='ipsRichEmbed_masthead ipsRichEmbed_masthead_small'>
|
||||
<img src='{$photo->url}' alt='{$item->mapped('title')}' loading="lazy">
|
||||
</div>
|
||||
{{elseif $club = $item->container()->club()}}
|
||||
{{if $club->coverPhoto() and $club->coverPhoto()->file}}
|
||||
{{$photo = $club->coverPhoto()->file;}}
|
||||
<a href='{$url}' title='{$item->mapped('title')}' class='ipsRichEmbed_masthead'>
|
||||
<img src='{$photo->url}' alt='{$item->mapped('title')}' loading="lazy">
|
||||
</a>
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
<div class='i-padding_3'>
|
||||
<div class='ipsPhotoPanel'>
|
||||
@@ -886,6 +902,13 @@
|
||||
<a href='{$url}' title='{$item->mapped('title')}' class='ipsRichEmbed_masthead ipsRichEmbed_masthead_small'>
|
||||
<img src='{$photo->url}' alt='{$item->mapped('title')}' loading="lazy">
|
||||
</a>
|
||||
{{elseif $club = $item->container()->club()}}
|
||||
{{if $club->coverPhoto() and $club->coverPhoto()->file}}
|
||||
{{$photo = $club->coverPhoto()->file;}}
|
||||
<a href='{$url}' title='{$item->mapped('title')}' class='ipsRichEmbed_masthead'>
|
||||
<img src='{$photo->url}' alt='{$item->mapped('title')}' loading="lazy">
|
||||
</a>
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
<div class='i-padding_3'>
|
||||
<div class='ipsPhotoPanel'>
|
||||
@@ -1204,9 +1227,9 @@
|
||||
</div>
|
||||
</div>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="overview" template_name="byMonth" template_data="$calendars, $date, $featured, $events, $thisCalendar, $months=array()" template_location="front" template_app="calendar"><![CDATA[<section class='ipsBox' data-controller="calendar.front.overview.eventList">
|
||||
<template template_group="overview" template_name="byMonth" template_data="$calendars, $date, $featured, $events, $thisCalendar, $months=array()" template_location="front" template_app="calendar"><![CDATA[<section class='ipsBox' data-controller="calendar.front.overview.eventList" data-ips-hook="main">
|
||||
<h2 class='ipsBox__header'>{lang="events_browse_by_month"}</h2>
|
||||
<div class='cEvents__monthNav' data-role='monthNav'>
|
||||
<div class='cEvents__monthNav' data-role='monthNav' data-ips-hook="navigation">
|
||||
{{foreach $months as $monthObj }}
|
||||
<a class='cEvents__monthNav__monthItem {{if $monthObj->format( 'n' ) == $date->mon}}cEvents__monthNav__monthItem--active{{endif}}' href="{{if $thisCalendar}}{url="app=calendar&module=calendar&controller=view&id={$thisCalendar->_id}&y={$monthObj->format( 'Y' )}&m={$monthObj->format( 'n' )}"}{{else}}{url="app=calendar&module=calendar&controller=view&y={$monthObj->format( 'Y' )}&m={$monthObj->format( 'n' )}"}{{endif}}" rel='nofollow' data-action='changeMonth' data-month='{$monthObj->format( 'n' )}' data-year='{$monthObj->format( 'Y' )}'>
|
||||
<span class='cEvents__monthNav__month'>{lang="_date_month_short" pluralize="$monthObj->format( 'n' )"}</span>
|
||||
@@ -1216,7 +1239,7 @@
|
||||
</div>
|
||||
{{if \count($events) }}
|
||||
<i-data>
|
||||
<ul class='ipsEventList ipsData ipsData--grid ipsData--events-list' data-role='eventList'>
|
||||
<ul class='ipsEventList ipsData ipsData--grid ipsData--events-list' data-role='eventList' data-ips-hook="eventsList">
|
||||
{{foreach $events as $event}}
|
||||
{template="event" app="calendar" group="events" params="$event, 'normal', \IPS\calendar\Date::getDate( $date->firstDayOfMonth('year'), $date->firstDayOfMonth('mon'), $date->firstDayOfMonth('mday') )"}
|
||||
{{endforeach}}
|
||||
@@ -1737,7 +1760,7 @@
|
||||
{{endif}}
|
||||
</div>]]></template>
|
||||
<template template_group="view" template_name="comments" template_data="$event" template_location="front" template_app="calendar"><![CDATA[
|
||||
<div class='' data-controller='core.front.core.commentFeed, core.front.core.ignoredComments' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-baseURL='{$event->url()}' {{if $event->isLastPage()}}data-lastPage{{endif}} data-feedID='{$event->feedId}' id='comments'>
|
||||
<div class='' data-controller='core.front.core.commentFeed, core.front.core.ignoredComments' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-baseURL='{$event->url()}' {{if $event->isLastPage()}}data-lastPage{{endif}} data-feedID='{$event->feedId}' id='comments' data-follow-area-id="event-{$event->id}">
|
||||
|
||||
{template="featuredComments" group="global" app="core" params="$event->featuredComments(), $event->url()->setQueryString('tab', 'comments')->setQueryString('recommended', 'comments')"}
|
||||
<div class="ipsButtonBar ipsButtonBar--top">
|
||||
@@ -1861,6 +1884,9 @@
|
||||
</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();}}
|
||||
{{if ( $coverPhoto === null or $coverPhoto->file === null ) and $club = $event->container()->club()}}
|
||||
{{$coverPhoto = $club->coverPhoto();}}
|
||||
{{endif}}
|
||||
<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">
|
||||
@@ -1993,7 +2019,7 @@
|
||||
</i-data>]]></template>
|
||||
<template template_group="view" template_name="eventSidebar" template_data="$event, $attendees, $tabId='', $address=NULL" template_location="front" template_app="calendar"><![CDATA[
|
||||
<div class='ipsBlockSpacer'>
|
||||
{{if $address || $event->map( 500, 500 )}}
|
||||
{{if !$event->online and ( $address || $event->map( 500, 500 ) )}}
|
||||
<div data-ips-hook="mapWrapper" class='ipsBox ipsPull'>
|
||||
{{if $event->map( 500, 500 )}}
|
||||
<div data-ips-hook="map" class='cEvents__sidebarMap'>
|
||||
@@ -2166,6 +2192,9 @@
|
||||
{{endif}}
|
||||
</div>]]></template>
|
||||
<template template_group="view" template_name="eventStreamBlock" template_data="$event, $date, $truncate=FALSE, $map=array( 300, 200 ), $revertToFirst=FALSE" template_location="front" template_app="calendar"><![CDATA[{{$coverPhoto = $event->coverPhoto();}}
|
||||
{{if ( $coverPhoto === null or $coverPhoto->file === null ) and $club = $event->container()->club()}}
|
||||
{{$coverPhoto = $club->coverPhoto();}}
|
||||
{{endif}}
|
||||
|
||||
<div class='cCalendarBlock i-background_1 ipsInnerBox i-margin-bottom_block {$event->ui( 'css' )}' {$event->ui( 'dataAttributes' )}>
|
||||
<div class='ipsCoverPhoto' data-controller='core.global.core.coverPhoto' data-coverOffset='{$coverPhoto->offset}' style='--offset:{$coverPhoto->offset}'>
|
||||
@@ -2310,7 +2339,7 @@
|
||||
</div>
|
||||
</form>]]></template>
|
||||
<template template_group="view" template_name="reviews" template_data="$event" template_location="front" template_app="calendar"><![CDATA[
|
||||
<div data-controller='core.front.core.commentFeed' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-commentsType='reviews' data-baseURL='{$event->url()}' {{if $event->isLastPage('reviews')}}data-lastPage{{endif}} data-feedID='{$event->reviewFeedId}' id='reviews'>
|
||||
<div data-controller='core.front.core.commentFeed' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-commentsType='reviews' data-baseURL='{$event->url()}' {{if $event->isLastPage('reviews')}}data-lastPage{{endif}} data-feedID='{$event->reviewFeedId}' id='reviews' data-follow-area-id="event-{$event->id}">
|
||||
{{if $event->reviewForm()}}
|
||||
{{if $event->locked()}}
|
||||
<strong class='i-color_warning'><i class='fa-solid fa-circle-info'></i> {lang="item_locked_can_review"}</strong>
|
||||
@@ -2558,7 +2587,7 @@
|
||||
<div class='ipsBox i-padding_2 ipsPull ipsResponsive_showPhone'>
|
||||
<div class='ipsPageActions'>
|
||||
{{if \count( $event->shareLinks() )}}
|
||||
{template="shareButton" app="core" group="sharelinks" params="$event, 'verySmall', 'light'"}
|
||||
{template="shareButton" app="core" group="sharelinks" params="$event"}
|
||||
{{endif}}
|
||||
{{if $event->canRemind()}}
|
||||
{template="reminder" app="calendar" group="view" params="$event, $reminder, 'ipsButton--wide'"}
|
||||
|
||||
Reference in new issue
Block a user