@@ -0,0 +1,15 @@
|
||||
<div class="ai1ec-agenda-buttons ai1ec-btn-toolbar ai1ec-pull-right">
|
||||
<div class="ai1ec-btn-group ai1ec-btn-group-xs">
|
||||
<a id="ai1ec-print-button" href="#" class="ai1ec-btn ai1ec-btn-default ai1ec-btn-xs">
|
||||
<i class="ai1ec-fa ai1ec-fa-print"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="ai1ec-btn-group ai1ec-btn-group-xs">
|
||||
<a id="ai1ec-agenda-collapse-all" class="ai1ec-btn ai1ec-btn-default ai1ec-btn-xs">
|
||||
<i class="ai1ec-fa ai1ec-fa-minus-circle"></i> {{ text_collapse_all }}
|
||||
</a>
|
||||
<a id="ai1ec-agenda-expand-all" class="ai1ec-btn ai1ec-btn-default ai1ec-btn-xs">
|
||||
<i class="ai1ec-fa ai1ec-fa-plus-circle"></i> {{ text_expand_all }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,97 @@
|
||||
<style>
|
||||
<!--
|
||||
{{ css | raw }}
|
||||
-->
|
||||
</style>
|
||||
<div class="timely ai1ec-agenda-widget-view ai1ec-clearfix">
|
||||
|
||||
{% if dates is empty %}
|
||||
<p class="ai1ec-no-results">
|
||||
{{ text_upcoming_events }}
|
||||
</p>
|
||||
{% else %}
|
||||
<div>
|
||||
{% set tag_for_days = 'a' %}
|
||||
{% if link_for_days == false %}
|
||||
{% set tag_for_days = 'span' %}
|
||||
{% endif %}
|
||||
{% for date, date_info in dates %}
|
||||
<div class="ai1ec-date
|
||||
{% if date_info.today is not empty %}ai1ec-today{% endif %}">
|
||||
<{{ tag_for_days }} class="ai1ec-date-title ai1ec-load-view"
|
||||
href="{{ date_info.href | e('html_attr') }}">
|
||||
<div class="ai1ec-month">{{ date | month }}</div>
|
||||
<div class="ai1ec-day">{{ date | day }}</div>
|
||||
<div class="ai1ec-weekday">{{ date | weekday }}</div>
|
||||
{% if show_year_in_agenda_dates %}
|
||||
<div class="ai1ec-year">{{ date | year }}</div>
|
||||
{% endif %}
|
||||
</{{ tag_for_days }}>
|
||||
<div class="ai1ec-date-events">
|
||||
{% for category in date_info.events %}
|
||||
{% for event in category %}
|
||||
<div class="ai1ec-event
|
||||
ai1ec-event-id-{{ event.post_id }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}
|
||||
{% if event.is_allday %}ai1ec-allday{% endif %}">
|
||||
|
||||
<a href="{{ event.permalink | e('html_attr') }}"
|
||||
class="ai1ec-popup-trigger ai1ec-load-event">
|
||||
{% if event.is_allday %}
|
||||
<span class="ai1ec-allday-badge">
|
||||
{{ text_all_day }}
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="ai1ec-event-time">
|
||||
{{ event.short_start_time }}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
<span class="ai1ec-event-title">
|
||||
{{ event.filtered_title | truncate | raw }}
|
||||
{% if show_location_in_title and event.venue is not empty %}
|
||||
<span class="ai1ec-event-location"
|
||||
>{{ text_venue_separator | format( event.venue ) }}</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
</a>
|
||||
|
||||
{% include 'event-popup.twig' with {
|
||||
'text_venue_separator': text_venue_separator
|
||||
} %}
|
||||
|
||||
</div>
|
||||
{% endfor %} {# event in category #}
|
||||
{% endfor %} {# category in date_info.events #}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %} {# date, date_info in dates #}
|
||||
</div>
|
||||
{% endif %} {# dates is not empty #}
|
||||
|
||||
{% if show_calendar_button or show_subscribe_buttons %}
|
||||
<div class="ai1ec-subscribe-buttons-widget">
|
||||
{% if show_calendar_button %}
|
||||
<a class="ai1ec-btn ai1ec-btn-default ai1ec-btn-xs ai1ec-pull-right
|
||||
ai1ec-calendar-link"
|
||||
href="{{ calendar_url | e('html_attr') }}">
|
||||
{{ text_view_calendar }}
|
||||
<i class="ai1ec-fa ai1ec-fa-arrow-right"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if show_subscribe_buttons == 1 %}
|
||||
{% include 'subscribe-buttons.twig' with {
|
||||
'button_classes': 'ai1ec-btn-xs',
|
||||
'export_url': subscribe_url,
|
||||
'export_url_no_html': subscribe_url_no_html,
|
||||
'subscribe_label': text_subscribe_label,
|
||||
'text': subscribe_buttons_text,
|
||||
'alignment': 'right',
|
||||
} %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %} {# show_calendar_button or show_subscribe_buttons #}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
{{ navigation | raw }}
|
||||
|
||||
<div class="ai1ec-agenda-view{% if has_product_buy_button %} ai1ec-has-product-buy-button{% endif %}">
|
||||
{% if dates is empty %}
|
||||
<p class="ai1ec-no-results">
|
||||
{{ text_upcoming_events }}
|
||||
</p>
|
||||
{% else %}
|
||||
{% for date, date_info in dates %}
|
||||
<div class="ai1ec-date
|
||||
{% if date_info.today is not empty %}ai1ec-today{% endif %}">
|
||||
<a class="ai1ec-date-title ai1ec-load-view"
|
||||
href="{{ date_info.href | e('html_attr') }}"
|
||||
{{ data_type | raw }}>
|
||||
<div class="ai1ec-month">{{ date_info.month }}</div>
|
||||
<div class="ai1ec-day">{{ date_info.day }}</div>
|
||||
<div class="ai1ec-weekday">{{ date_info.weekday }}</div>
|
||||
{% if show_year_in_agenda_dates %}
|
||||
<div class="ai1ec-year">{{ date_info.year }}</div>
|
||||
{% endif %}
|
||||
</a>
|
||||
<div class="ai1ec-date-events">
|
||||
{% for category in date_info.events %}
|
||||
{% for event in category %}
|
||||
<div class="ai1ec-event
|
||||
ai1ec-event-id-{{ event.post_id }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}
|
||||
{% if event.is_allday %}ai1ec-allday{% endif %}
|
||||
{% if expanded %}ai1ec-expanded{% endif %}"
|
||||
{% if event.ticket_url is not empty %}
|
||||
data-ticket-url="{{ event.ticket_url | e( 'html_attr' ) }}"
|
||||
{% endif %}
|
||||
data-end="{{ event.end }}">
|
||||
|
||||
<div class="ai1ec-event-header">
|
||||
<div class="ai1ec-event-toggle">
|
||||
<i class="ai1ec-fa ai1ec-fa-minus-circle ai1ec-fa-lg"></i>
|
||||
<i class="ai1ec-fa ai1ec-fa-plus-circle ai1ec-fa-lg"></i>
|
||||
</div>
|
||||
<span class="ai1ec-event-title">
|
||||
{{ event.filtered_title | raw }}
|
||||
{% if show_location_in_title and event.venue is not empty %}
|
||||
<span class="ai1ec-event-location"
|
||||
>{{ text_venue_separator | format( event.venue ) }}</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{{ action_buttons | raw }}
|
||||
{% set edit_post_link = event.edit_post_link %}
|
||||
{% if edit_post_link is not empty %}
|
||||
<a class="post-edit-link" href="{{ edit_post_link | raw }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-pencil"></i> {{ text_edit }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-event-time">
|
||||
{{ event.timespan_short | raw }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{# Hidden summary, until clicked #}
|
||||
<div class="ai1ec-event-summary {% if expanded %}ai1ec-expanded{% endif %}">
|
||||
|
||||
<div class="ai1ec-event-description">
|
||||
{% if event.content_img_url is empty and event.avatar_not_wrapped is not empty %}
|
||||
<a class="ai1ec-load-event"
|
||||
href="{{ event.permalink | e('html_attr') }}">
|
||||
{{ event.avatar_not_wrapped | raw }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{{ event.filtered_content | raw }}
|
||||
</div>
|
||||
|
||||
<div class="ai1ec-event-summary-footer">
|
||||
<div class="ai1ec-btn-group ai1ec-actions">
|
||||
{% if is_ticket_button_enabled and event.ticket_url is not empty %}
|
||||
<a class="ai1ec-pull-right ai1ec-btn ai1ec-btn-primary
|
||||
ai1ec-btn-xs ai1ec-buy-tickets"
|
||||
target="_blank"
|
||||
href="{{ event.ticket_url | e('html_attr') }}"
|
||||
>{{ event.ticket_url_label }}</a>
|
||||
{% endif %}
|
||||
<a class="ai1ec-read-more ai1ec-btn ai1ec-btn-default
|
||||
ai1ec-load-event"
|
||||
href="{{ event.permalink | e('html_attr') }}">
|
||||
{{ text_read_more }} <i class="ai1ec-fa ai1ec-fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
{% set categories = event.categories_html %}
|
||||
{% set tags = event.tags_html %}
|
||||
{% if categories is not empty %}
|
||||
<span class="ai1ec-categories">
|
||||
<span class="ai1ec-field-label">
|
||||
<i class="ai1ec-fa ai1ec-fa-folder-open"></i>
|
||||
{{ text_categories }}
|
||||
</span>
|
||||
{{ categories | raw }}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if tags is not empty %}
|
||||
<span class="ai1ec-tags">
|
||||
<span class="ai1ec-field-label">
|
||||
<i class="ai1ec-fa ai1ec-fa-tags"></i>
|
||||
{{ text_tags }}
|
||||
</span>
|
||||
{{ tags | raw }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endfor %} {# event in category #}
|
||||
{% endfor %} {# category in date_info.events #}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %} {# date, date_info in dates #}
|
||||
{% endif %} {# dates is not empty #}
|
||||
</div>
|
||||
|
||||
<div class="ai1ec-pull-left">{{ pagination_links | raw }}</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div class="ai1ec-sas-actions ai1ec-btn-group ai1ec-clearfix">
|
||||
{{ action_buttons | raw }}{% if tickets_button
|
||||
%}<a href="#" target="_blank" class="ai1ec-sas-action ai1ec-btn ai1ec-btn-primary
|
||||
{% if single %}ai1ec-btn-sm{% else %}ai1ec-btn-xs{% endif %}
|
||||
ai1ec-btn-sm ai1ec-sas-action-tickets">
|
||||
<i class="ai1ec-fa ai1ec-fa-ticket"></i>
|
||||
<span class="ai1ec-hidden-xs">{{ text_tickets }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -0,0 +1,31 @@
|
||||
{% autoescape false %}
|
||||
<!-- START All-in-One Event Calendar Plugin - Version {{ version }} -->
|
||||
<div id="ai1ec-container"
|
||||
class="ai1ec-main-container {{ ai1ec_calendar_classes }}">
|
||||
<!-- AI1EC_PAGE_CONTENT_PLACEHOLDER -->
|
||||
<div id="ai1ec-calendar" class="timely ai1ec-calendar">
|
||||
{% if ai1ec_above_calendar is defined %}
|
||||
{{ ai1ec_above_calendar }}
|
||||
{% endif %}
|
||||
{{ filter_menu }}
|
||||
<div id="ai1ec-calendar-view-container"
|
||||
class="ai1ec-calendar-view-container">
|
||||
<div id="ai1ec-calendar-view-loading"
|
||||
class="ai1ec-loading ai1ec-calendar-view-loading"></div>
|
||||
<div id="ai1ec-calendar-view" class="ai1ec-calendar-view">
|
||||
{{ view }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="ai1ec-subscribe-container ai1ec-pull-right ai1ec-btn-group">
|
||||
{{ subscribe_buttons }}
|
||||
</div>
|
||||
{{ after_view }}
|
||||
</div><!-- /.timely -->
|
||||
</div>
|
||||
{% if inline_js_calendar is not empty %}
|
||||
<script type="text/javascript">{{ inline_js_calendar }}</script>
|
||||
{% endif %}
|
||||
<!-- END All-in-One Event Calendar Plugin -->
|
||||
{% endautoescape %}
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{% spaceless %}
|
||||
<div class="ai1ec-captcha ai1ec-nocaptcha" data-provider="nocaptcha"
|
||||
data-captcha-key="{{ nocaptcha_key | e('html_attr') }}">
|
||||
</div>
|
||||
{% endspaceless %}
|
||||
@@ -0,0 +1,7 @@
|
||||
<div class="ai1ec-captcha ai1ec-recaptcha" data-provider="recaptcha"
|
||||
data-placeholder="{{ verification_words | e('html_attr') }}"
|
||||
data-captcha-key="{{ recaptcha_key | e('html_attr') }}">
|
||||
<div class="ai1ec-initializing-message">
|
||||
{{ loading_recaptcha }}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,38 @@
|
||||
<li class="ai1ec-dropdown ai1ec-category-filter ai1ec-cat-filter
|
||||
{% if selected_cat_ids is not empty %}ai1ec-active{% endif %}"
|
||||
data-slug="cat">
|
||||
<a class="ai1ec-dropdown-toggle" data-toggle="ai1ec-dropdown">
|
||||
<i class="ai1ec-fa ai1ec-fa-folder-open"></i>
|
||||
<span class="ai1ec-clear-filter ai1ec-tooltip-trigger"
|
||||
data-href="{{ clear_filter }}"
|
||||
{{ data_type | raw }}
|
||||
title="{{ text_clear_category_filter }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-times-circle"></i>
|
||||
</span>
|
||||
{{ text_categories }}
|
||||
<span class="ai1ec-caret"></span>
|
||||
</a>
|
||||
<div class="ai1ec-dropdown-menu">
|
||||
{% for term in categories %}
|
||||
<div data-term="{{ term.term_id }}"
|
||||
{% if term.term_id in selected_cat_ids %}
|
||||
class="ai1ec-active"
|
||||
{% endif %}>
|
||||
<a class="ai1ec-load-view ai1ec-category ai1ec-cat"
|
||||
{% if term.description is not empty %}
|
||||
title="{{ term.description|e('html_attr') }}"
|
||||
{% endif %}
|
||||
{{ data_type | raw }}
|
||||
href="{{ term.href }}">
|
||||
{% if term.color is empty %}
|
||||
<span class="ai1ec-color-swatch-empty"></span>
|
||||
{% else %}
|
||||
{{ term.color | raw }}
|
||||
{% endif %}
|
||||
{{ term.name | raw }}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<a
|
||||
class="ai1ec-minical-trigger ai1ec-btn ai1ec-btn-sm ai1ec-btn-default
|
||||
ai1ec-tooltip-trigger"
|
||||
{% for attribute, value in attributes %}
|
||||
{{ attribute }}="{{ value }}"
|
||||
{% endfor %}
|
||||
{{ data_type | raw }}
|
||||
title="{{ text_date }}"
|
||||
>
|
||||
<i class="ai1ec-fa ai1ec-fa-calendar-o ai1ec-fa-fw ai1ec-fa-lg"></i>
|
||||
<span class="ai1ec-calendar-title">{{ title }}</span>
|
||||
<span class="ai1ec-calendar-title-short">{{ title_short }}</span>
|
||||
</a>
|
||||
@@ -0,0 +1 @@
|
||||
{# empty file for extensions, added for compatibility with legacy themes #}
|
||||
@@ -0,0 +1,12 @@
|
||||
<div class="timely ai1ec-excerpt">
|
||||
<div class="ai1ec-time">
|
||||
<strong>{{ text_when }}</strong>
|
||||
{{ event | timespan | raw }}
|
||||
</div>
|
||||
{% if location is not empty %}
|
||||
<div class="ai1ec-location">
|
||||
<strong>{{ text_where }}</strong>
|
||||
{{ location | raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
{% if hide_maps_until_clicked %}
|
||||
<div class="ai1ec-gmap-placeholder">
|
||||
<strong>
|
||||
<i class="ai1ec-fa ai1ec-fa-map-marker"></i>
|
||||
{{ text_view_map }}
|
||||
</strong>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="ai1ec-gmap-container {% if hide_maps_until_clicked %}ai1ec-gmap-container-hidden{% endif %}">
|
||||
<div id="ai1ec-gmap-canvas"></div>
|
||||
<input type="hidden" id="ai1ec-gmap-address" value="{{ address | e('html_attr') }}" />
|
||||
|
||||
<a class="ai1ec-gmap-link ai1ec-btn ai1ec-btn-primary ai1ec-btn-xs ai1ec-tooltip-trigger"
|
||||
href="{{ gmap_url_link | e('html_attr') }}" target="_blank"
|
||||
title="{{ text_full_map }}"
|
||||
data-placement="bottom">
|
||||
<i class="ai1ec-fa ai1ec-fa-search-plus ai1ec-fa-lg"></i>
|
||||
</a>
|
||||
</div>
|
||||
@@ -0,0 +1,50 @@
|
||||
<div class="ai1ec-popover ai1ec-popup {{ popup_classes }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}">
|
||||
|
||||
{% set category_colors = event.get_runtime( 'category_colors' ) %}
|
||||
{% if category_colors is not empty %}
|
||||
<div class="ai1ec-color-swatches">{{ category_colors | raw }}</div>
|
||||
{% endif %}
|
||||
|
||||
<span class="ai1ec-popup-title">
|
||||
<a href="{{ event.permalink | e('html_attr') }}"
|
||||
class="ai1ec-load-event"
|
||||
>{{ event.filtered_title | truncate | raw }}</a>
|
||||
{% if show_location_in_title and event.venue is not empty %}
|
||||
<span class="ai1ec-event-location"
|
||||
>{{ text_venue_separator | format( event.venue ) }}</span>
|
||||
{% endif %}
|
||||
{% if is_ticket_button_enabled and event.ticket_url is not empty %}
|
||||
<a class="ai1ec-pull-right ai1ec-btn ai1ec-btn-primary ai1ec-btn-xs
|
||||
ai1ec-buy-tickets" target="_blank"
|
||||
href="{{ event.ticket_url | e('html_attr') }}"
|
||||
>{{ event.ticket_url_label }}</a>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
{% if event.edit_post_link is not empty %}
|
||||
<a class="post-edit-link" href="{{ event.edit_post_link | raw }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-pencil"></i> {{ text_edit }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-event-time">
|
||||
{% if popup_timespan is empty %}
|
||||
{{ event.timespan_short | raw }}
|
||||
{% else %}
|
||||
{{ popup_timespan | raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if event.avatar_not_wrapped is not empty %}
|
||||
<a class="ai1ec-load-event"
|
||||
href="{{ event.permalink | e('html_attr') }}">
|
||||
{{ event.avatar_not_wrapped | raw }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if event.post_excerpt is not empty %}
|
||||
<div class="ai1ec-popup-excerpt">{{ event.post_excerpt | raw }}</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,12 @@
|
||||
<footer class="timely ai1ec-event-footer">
|
||||
{% if event.get( 'ical_feed_url' ) is not empty %}
|
||||
{{ text_calendar_feed | raw }}
|
||||
{% if event.get( 'ical_source_url' ) is not empty %}
|
||||
<a href="{{ event.get( 'ical_source_url' ) | e('html_attr') }}"
|
||||
class="ai1ec-btn ai1ec-btn-default ai1ec-btn-xs" target="_blank">
|
||||
{{ text_view_post }}
|
||||
<i class="ai1ec-fa ai1ec-fa-external-link"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</footer>
|
||||
@@ -0,0 +1,10 @@
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{ title | raw }}</h1>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
{{ event_details | raw }}
|
||||
{{ content | raw }}
|
||||
</div>
|
||||
{{ footer | raw }}
|
||||
</article>
|
||||
@@ -0,0 +1,178 @@
|
||||
<div class="timely ai1ec-single-event
|
||||
ai1ec-event-id-{{ post_id }}
|
||||
ai1ec-event-instance-id-{{ instance_id }}
|
||||
{% if event.is_multiday %}ai1ec-multiday{% endif %}
|
||||
{% if event.is_allday %}ai1ec-allday{% endif %}">
|
||||
|
||||
<a id="ai1ec-event"></a>
|
||||
|
||||
<div class="ai1ec-actions">
|
||||
<div class="ai1ec-btn-group-vertical ai1ec-clearfix">
|
||||
{{ back_to_calendar | raw }}
|
||||
</div>
|
||||
|
||||
<div class="ai1ec-btn-group-vertical ai1ec-clearfix">
|
||||
{% if ticket_url is not empty %}
|
||||
<a href="{{ ticket_url | e( 'html_attr' ) }}" target="_blank"
|
||||
class="ai1ec-tickets ai1ec-btn ai1ec-btn-sm ai1ec-btn-primary
|
||||
ai1ec-tooltip-trigger"
|
||||
title="{{ tickets_url_label | e( 'html_attr' ) }}"
|
||||
data-placement="left">
|
||||
<i class="ai1ec-fa ai1ec-fa-ticket ai1ec-fa-fw"></i>
|
||||
<span class="ai1ec-hidden-xs">
|
||||
{{ tickets_url_label }}
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if show_subscribe_buttons %}
|
||||
{% include 'subscribe-buttons.twig' with {
|
||||
'export_url': subscribe_url,
|
||||
'export_url_no_html': subscribe_url_no_html,
|
||||
'subscribe_label': text_add_calendar,
|
||||
'text': subscribe_buttons_text,
|
||||
} %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if extra_buttons %}
|
||||
{{ extra_buttons | raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if map is empty %}
|
||||
{% set col1 = 'ai1ec-col-sm-3' %}
|
||||
{% set col2 = 'ai1ec-col-sm-9' %}
|
||||
<div class="ai1ec-event-details ai1ec-clearfix">
|
||||
{% else %}
|
||||
{% set col1 = 'ai1ec-col-sm-4 ai1ec-col-md-5' %}
|
||||
{% set col2 = 'ai1ec-col-sm-8 ai1ec-col-md-7' %}
|
||||
<div class="ai1ec-event-details ai1ec-row">
|
||||
<div class="ai1ec-map ai1ec-col-sm-5 ai1ec-col-sm-push-7">
|
||||
{{ map | raw }}
|
||||
</div>
|
||||
<div class="ai1ec-col-sm-7 ai1ec-col-sm-pull-5">
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-time ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }}">{{ text_when }}</div>
|
||||
<div class="ai1ec-field-value {{ col2 }} dt-duration">
|
||||
{{ event | timespan | raw }}
|
||||
{% if timezone_info.show_timezone %}
|
||||
{% if timezone_info.using_calendar_tz %}
|
||||
<span>{{ timezone_info.calendar_timezone }}</span>
|
||||
{% else %}
|
||||
<span>{{ timezone_info.event_timezone }}</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% include 'recurrence.twig' %}
|
||||
</div>
|
||||
<div class="ai1ec-hidden dt-start">{{ start }}</div>
|
||||
<div class="ai1ec-hidden dt-end">{{ end }}</div>
|
||||
</div>
|
||||
|
||||
{% if location is not empty %}
|
||||
<div class="ai1ec-location ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }}">{{ text_where }}</div>
|
||||
<div class="ai1ec-field-value {{ col2 }} p-location">
|
||||
{{ location | raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if ( cost is not empty or event.is_free ) and tickets_block is empty %}
|
||||
<div class="ai1ec-cost ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }}">{{ text_cost }}</div>
|
||||
<div class="ai1ec-field-value {{ col2 }}">
|
||||
{{ event.is_free ? text_free : cost }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if tickets_block is not empty %}
|
||||
<div class="ai1ec-cost ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }}">
|
||||
{{ text_tickets }}
|
||||
</div>
|
||||
<div class="ai1ec-field-value {{ col2 }}">
|
||||
{{ tickets_block | raw }}
|
||||
</div>
|
||||
</div>{# / .timely-cost-row #}
|
||||
{% endif %}
|
||||
|
||||
{% if contact is not empty %}
|
||||
<div class="ai1ec-contact ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }}">{{ text_contact }}</div>
|
||||
<div class="ai1ec-field-value {{ col2 }}">{{ contact | raw }}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if categories is not empty %}
|
||||
<div class="ai1ec-categories ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }} ai1ec-col-xs-1">
|
||||
<i class="ai1ec-fa ai1ec-fa-folder-open ai1ec-tooltip-trigger"
|
||||
title="{{ text_categories | e( 'html_attr' ) }}"></i>
|
||||
</div>
|
||||
<div class="ai1ec-field-value {{ col2 }} ai1ec-col-xs-10">
|
||||
{{ categories | raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if tags is not empty %}
|
||||
<div class="ai1ec-tags ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }} ai1ec-col-xs-1">
|
||||
<i class="ai1ec-fa ai1ec-fa-tags ai1ec-tooltip-trigger"
|
||||
title="{{ text_tags | e( 'html_attr' ) }}"></i>
|
||||
</div>
|
||||
<div class="ai1ec-field-value {{ col2 }} ai1ec-col-xs-10">
|
||||
{{ tags | raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if filter_groups is not empty %}
|
||||
{% for filter_group in filter_groups %}
|
||||
<div class="ai1ec-categories ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }} ai1ec-col-xs-1">
|
||||
<i class="ai1ec-fa {{ filter_group.icon_name }} ai1ec-tooltip-trigger"
|
||||
title="{{ filter_group.text | e( 'html_attr' ) }}"></i>
|
||||
</div>
|
||||
<div class="ai1ec-field-value {{ col2 }} ai1ec-col-xs-10">
|
||||
{{ filter_group.html_value | raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if filter_groups is not empty %}
|
||||
{% for filter_group in filter_groups %}
|
||||
<div class="ai1ec-categories ai1ec-row">
|
||||
<div class="ai1ec-field-label {{ col1 }} ai1ec-col-xs-1">
|
||||
<i class="ai1ec-fa {{ filter_group.icon_name }} ai1ec-tooltip-trigger"
|
||||
title="{{ filter_group.text | e( 'html_attr' ) }}"></i>
|
||||
</div>
|
||||
<div class="ai1ec-field-value {{ col2 }} ai1ec-col-xs-10">
|
||||
{{ filter_group.html_value | raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if map is empty %}
|
||||
</div>{# /.ai1ec-event-details #}
|
||||
{% else %}
|
||||
</div>{# /.ai1ec-col-sm-7 #}
|
||||
</div>{# /.ai1ec-event-details.ai1ec-row #}
|
||||
{% endif %}
|
||||
|
||||
{% if not hide_featured_image %}
|
||||
{% if content_img_url is empty %}
|
||||
{{ event | avatar( [
|
||||
'post_thumbnail',
|
||||
'location_avatar',
|
||||
'category_avatar'
|
||||
], 'timely alignleft', false ) | raw }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,28 @@
|
||||
{% if hide_toolbar is not defined %}
|
||||
{% if ai1ec_before_filter_menu is defined %}
|
||||
{{ ai1ec_before_filter_menu | raw }}
|
||||
{% endif %}
|
||||
<div class="timely ai1ec-calendar-toolbar ai1ec-clearfix
|
||||
{% if categories is empty and
|
||||
tags is empty and
|
||||
additional_filters is not defined and
|
||||
contribution_buttons is empty and
|
||||
additional_buttons is not defined
|
||||
%}
|
||||
ai1ec-hidden
|
||||
{% endif %}
|
||||
">
|
||||
<ul class="ai1ec-nav ai1ec-nav-pills ai1ec-pull-left ai1ec-filters">
|
||||
{{ categories | raw }}
|
||||
{{ tags | raw }}
|
||||
{% if additional_filters is defined %}
|
||||
{{ additional_filters | raw }}
|
||||
{% endif %}
|
||||
</ul>
|
||||
<div class="ai1ec-pull-right">
|
||||
{% if additional_buttons is defined %}
|
||||
{{ additional_buttons | raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>{# /.ai1ec-calendar-toolbar #}
|
||||
{% endif %}{# hide_toolbar #}
|
||||
@@ -0,0 +1,122 @@
|
||||
{{ navigation | raw }}
|
||||
|
||||
<table class="ai1ec-month-view ai1ec-popover-boundary
|
||||
{% if has_product_buy_button %} ai1ec-has-product-buy-button{% endif %}
|
||||
{% if month_word_wrap %}ai1ec-word-wrap{% endif %}">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for weekday in weekdays %}
|
||||
<th scope="col" class="ai1ec-weekday">{{ weekday }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for week in cell_array %}
|
||||
{% set added_stretcher = false %}
|
||||
<tr class="ai1ec-week">
|
||||
{% for day in week %}
|
||||
|
||||
{% if day.date %}
|
||||
<td {% if day.today %}class="ai1ec-today"{% endif %}>
|
||||
{# This div is needed for laying out multi-day event bars. #}
|
||||
{% if not added_stretcher %}
|
||||
<div class="ai1ec-day-stretcher"></div>
|
||||
{% set added_stretcher = true %}
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-day">
|
||||
<div class="ai1ec-date">
|
||||
<a class="ai1ec-load-view"
|
||||
{{ data_type | raw }}
|
||||
href="{{ day.date_link | e( 'html_attr' ) }}"
|
||||
>{{ day.date }}</a>
|
||||
</div>
|
||||
|
||||
{% for event in day.events %}
|
||||
<a href="{{ event.permalink | e( 'html_attr' ) }}"
|
||||
{% if event.is_multiday %}
|
||||
data-start-day="{{ event.start_day }}"
|
||||
data-end-day="{{ event.multiday_end_day }}"
|
||||
data-start-truncated="{{ event.start_truncated ? 'true' : 'false' }}"
|
||||
data-end-truncated="{{ event.end_truncated ? 'true' : 'false' }}"
|
||||
{% endif %}
|
||||
data-instance-id="{{ event.instance_id }}"
|
||||
class="ai1ec-event-container ai1ec-load-event
|
||||
ai1ec-popup-trigger
|
||||
ai1ec-event-id-{{ event.post_id }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}
|
||||
{% if event.is_allday %}ai1ec-allday{% endif %}
|
||||
{% if event.is_multiday %}ai1ec-multiday{% endif %}"
|
||||
>
|
||||
|
||||
<div class="ai1ec-event"
|
||||
style="{{ event.color_style | e( 'html_attr' ) }}"
|
||||
{% if event.ticket_url is not empty %}
|
||||
data-ticket-url="{{ event.ticket_url | e( 'html_attr' ) }}"
|
||||
{% endif %}>
|
||||
<span class="ai1ec-event-title">
|
||||
{{ event.filtered_title | raw }}
|
||||
</span>
|
||||
{% if not event.is_allday %}
|
||||
<span class="ai1ec-event-time">
|
||||
{{ event.short_start_time }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="ai1ec-popover ai1ec-popup ai1ec-popup-in-{{ type }}-view
|
||||
ai1ec-event-id-{{ event.post_id }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}
|
||||
{% if event.ticket_url is not empty %}
|
||||
ai1ec-has-tickets-button
|
||||
{% endif %}>
|
||||
">
|
||||
{% if event.category_colors %}
|
||||
<div class="ai1ec-color-swatches">{{ event.category_colors | raw }}</div>
|
||||
{% endif %}
|
||||
<span class="ai1ec-popup-title">
|
||||
<a class="ai1ec-load-event"
|
||||
href="{{ event.permalink | e( 'html_attr' ) }}"
|
||||
>{{ event.filtered_title | raw }}</a>
|
||||
{% if show_location_in_title and event.venue %}
|
||||
<span class="ai1ec-event-location"
|
||||
>{{ text_venue_separator | format( event.venue ) }}</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
{% if event.edit_post_link %}
|
||||
<a class="post-edit-link"
|
||||
href="{{ event.edit_post_link | raw }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-pencil"></i> {{ text_edit }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-event-time">
|
||||
{{ event.popup_timespan | raw }}
|
||||
</div>
|
||||
|
||||
<a class="ai1ec-load-event"
|
||||
href="{{ event.permalink | e('html_attr') }}">
|
||||
{{ event.avatar_not_wrapped | raw }}
|
||||
</a>
|
||||
{{ action_buttons | raw }}
|
||||
|
||||
{% if event.post_excerpt %}
|
||||
<div class="ai1ec-popup-excerpt">{{ event.post_excerpt | raw }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</td>
|
||||
{% else %} {# day.date is not empty #}
|
||||
<td class="ai1ec-empty"></td>
|
||||
{% endif %} {# day.date is not empty #}
|
||||
|
||||
{% endfor %} {# day in week #}
|
||||
</tr>
|
||||
{% endfor %} {# week in cell_array #}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="ai1ec-pull-left">{{ pagination_links | raw }}</div>
|
||||
@@ -0,0 +1,14 @@
|
||||
<div class="ai1ec-clearfix">
|
||||
{{ views_dropdown | raw }}
|
||||
<div class="ai1ec-title-buttons ai1ec-btn-toolbar">
|
||||
{{ before_pagination | raw }}
|
||||
{{ pagination_links | raw }}
|
||||
{{ after_pagination | raw }}
|
||||
{% if contribution_buttons is defined %}
|
||||
{{ contribution_buttons | raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if below_toolbar is defined %}
|
||||
{{ below_toolbar | raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -0,0 +1,250 @@
|
||||
{{ navigation | raw }}
|
||||
|
||||
<table class="ai1ec-{{ type }}-view-original{% if has_product_buy_button %} ai1ec-has-product-buy-button{% endif %}">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for date, day in cell_array %}
|
||||
<th class="ai1ec-weekday
|
||||
{% if day.today is not empty %}ai1ec-today{% endif %}">
|
||||
{# Display Reveal button in last cell only #}
|
||||
{% if show_reveal_button and loop.last %}
|
||||
<div class="ai1ec-reveal-full-day">
|
||||
<button class="ai1ec-btn ai1ec-btn-info ai1ec-btn-xs
|
||||
ai1ec-tooltip-trigger"
|
||||
data-placement="left"
|
||||
title="{{ text_full_day | e('html_attr') }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-expand"></i>
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
<a class="ai1ec-load-view" href="{{ day.href | e( 'html_attr' ) }}"
|
||||
{{ data_type | raw }}>
|
||||
<span class="ai1ec-weekday-date">{{ day.day }}</span>
|
||||
<span class="ai1ec-weekday-day">{{ day.weekday }}</span>
|
||||
</a>
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
<tr>
|
||||
{% for day in cell_array %}
|
||||
<td class="ai1ec-allday-events
|
||||
{% if day.today is not empty %}ai1ec-today{% endif %}">
|
||||
|
||||
{% if loop.first %}
|
||||
<div class="ai1ec-allday-label">{{ text_all_day }}</div>
|
||||
{% endif %}
|
||||
|
||||
{% for event in day.allday %}
|
||||
<a href="{{ event.permalink | e( 'html_attr' ) }}"
|
||||
data-instance-id="{{ event.instance_id }}"
|
||||
class="ai1ec-event-container ai1ec-load-event ai1ec-popup-trigger
|
||||
ai1ec-event-id-{{ event.post_id }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}
|
||||
ai1ec-allday
|
||||
{% if event.is_multiday %}ai1ec-multiday{% endif %}"
|
||||
>
|
||||
<div class="ai1ec-event"
|
||||
style="{{ event.color_style | e( 'html_attr' ) }}"
|
||||
{% if event.ticket_url is not empty %}
|
||||
data-ticket-url="{{ event.ticket_url | e( 'html_attr' ) }}"
|
||||
{% endif %}>
|
||||
<span class="ai1ec-event-title">
|
||||
{{ event.filtered_title | raw }}
|
||||
{% if show_location_in_title and event.venue %}
|
||||
<span class="ai1ec-event-location"
|
||||
>{{ text_venue_separator | format( event.venue ) }}</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="ai1ec-popover ai1ec-popup ai1ec-popup-in-{{ type }}-view
|
||||
ai1ec-event-id-{{ event.post_id }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}
|
||||
{% if event.ticket_url is not empty %}
|
||||
ai1ec-has-tickets-button
|
||||
{% endif %}">
|
||||
{% if event.category_colors %}
|
||||
<div class="ai1ec-color-swatches">{{ event.category_colors | raw }}</div>
|
||||
{% endif %}
|
||||
<span class="ai1ec-popup-title">
|
||||
<a class="ai1ec-load-event"
|
||||
href="{{ event.permalink | e( 'html_attr' ) }}"
|
||||
>{{ event.filtered_title | raw }}</a>
|
||||
{% if show_location_in_title and event.venue %}
|
||||
<span class="ai1ec-event-location"
|
||||
>{{ text_venue_separator | format( event.venue ) }}</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
{% if event.edit_post_link %}
|
||||
<a class="post-edit-link"
|
||||
href="{{ event.edit_post_link | raw }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-pencil"></i> {{ text_edit }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-event-time">
|
||||
{{ event.popup_timespan | raw }}
|
||||
</div>
|
||||
|
||||
<a class="ai1ec-load-event"
|
||||
href="{{ event.permalink | e('html_attr') }}">
|
||||
{{ event.avatar_not_wrapped | raw }}
|
||||
</a>
|
||||
{{ action_buttons | raw }}
|
||||
{% if event.post_excerpt %}
|
||||
<div class="ai1ec-popup-excerpt">{{ event.post_excerpt | raw }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endfor %} {# event in day.allday #}
|
||||
|
||||
</td>
|
||||
{% endfor %} {# day in cell_array #}
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="ai1ec-{{ type }}">
|
||||
{% for day in cell_array %}
|
||||
<td {% if day.today %}class="ai1ec-today"{% endif %}>
|
||||
|
||||
{% if loop.first %}
|
||||
<div class="ai1ec-grid-container">
|
||||
{% for h, hour in hours %}
|
||||
<div class="ai1ec-hour-marker
|
||||
{% if h >= 8 and h < 18 %}ai1ec-business-hour{% endif %}"
|
||||
style="top: {{ h * 60 }}px;">
|
||||
<div>
|
||||
{{ hour | raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% for quarter in 1..3 %}
|
||||
<div class="ai1ec-quarter-marker"
|
||||
style="top: {{ h * 60 + quarter * 15 }}px;"></div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% if day.today or show_now %}
|
||||
<div class="ai1ec-now-marker" style="top: {{ now_top }}px;">
|
||||
<div>
|
||||
{{ text_now_label }} {{ now_text }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-day">
|
||||
|
||||
{% for day_array in day.notallday %}
|
||||
{% set event = day_array.event %}
|
||||
<a href="{{ event.permalink | e( 'html_attr' ) }}"
|
||||
data-instance-id="{{ event.instance_id }}"
|
||||
class="ai1ec-event-container ai1ec-load-event ai1ec-popup-trigger
|
||||
ai1ec-event-id-{{ event.post_id }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}
|
||||
{% if event.start_truncated %}ai1ec-start-truncated{% endif %}
|
||||
{% if event.end_truncated %}ai1ec-end-truncated{% endif %}
|
||||
{% if event.is_multiday %}ai1ec-multiday{% endif %}"
|
||||
style="top: {{ day_array.top }}px;
|
||||
height: {{ day_array.height }}px;
|
||||
left: {{ day_array.indent * indent_multiplier + indent_offset }}px;
|
||||
{{ event.color_style }}
|
||||
{% set faded_color = event.faded_color %}
|
||||
{% set rgba_color = event.rgba_color %}
|
||||
{% if faded_color %}
|
||||
{% set rgba1 = rgba_color | format( '0.05' ) %}
|
||||
{% set rgba3 = rgba_color | format( '0.3' ) %}
|
||||
border: 1px solid {{ faded_color }};
|
||||
border-color: {{ rgba_color | format( '0.5' ) }};
|
||||
background-image: -webkit-linear-gradient( top, {{ rgba1 }}, {{ rgba3 }} 50px );
|
||||
background-image: -moz-linear-gradient( top, {{ rgba1 }}, {{ rgba3 }} 50px );
|
||||
background-image: -ms-linear-gradient( top, {{ rgba1 }}, {{ rgba3 }} 50px );
|
||||
background-image: -o-linear-gradient( top, {{ rgba1 }}, {{ rgba3 }} 50px );
|
||||
background-image: linear-gradient( top, {{ rgba1 }}, {{ rgba3 }} 50px );
|
||||
{% endif %}
|
||||
">
|
||||
|
||||
{% if event.start_truncated %}
|
||||
<div class="ai1ec-start-truncator">◤</div>
|
||||
{% endif %}
|
||||
{% if event.end_truncated %}
|
||||
<div class="ai1ec-end-truncator">◢</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-event"
|
||||
{% if event.ticket_url is not empty %}
|
||||
data-ticket-url="{{ event.ticket_url | e( 'html_attr' ) }}"
|
||||
{% endif %}>
|
||||
<span class="ai1ec-event-time">
|
||||
{{ event.short_start_time }}
|
||||
</span>
|
||||
<span class="ai1ec-event-title">
|
||||
{{ event.filtered_title | raw }}
|
||||
{% if show_location_in_title and event.venue %}
|
||||
<span class="ai1ec-event-location"
|
||||
>{{ text_venue_separator | format( event.venue ) }}</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</a>
|
||||
|
||||
<div class="ai1ec-popover ai1ec-popup ai1ec-popup-in-{{ type }}-view
|
||||
ai1ec-event-id-{{ event.post_id }}
|
||||
ai1ec-event-instance-id-{{ event.instance_id }}
|
||||
{% if event.ticket_url is not empty %}
|
||||
ai1ec-has-tickets-button
|
||||
{% endif %}">
|
||||
{% if event.category_colors %}
|
||||
<div class="ai1ec-color-swatches">{{ event.category_colors | raw }}</div>
|
||||
{% endif %}
|
||||
<span class="ai1ec-popup-title">
|
||||
<a class="ai1ec-load-event"
|
||||
href="{{ event.permalink | e( 'html_attr' ) }}"
|
||||
>{{ event.filtered_title | raw }}</a>
|
||||
{% if show_location_in_title and event.venue %}
|
||||
<span class="ai1ec-event-location"
|
||||
>{{ text_venue_separator | format( event.venue ) }}</span>
|
||||
{% endif %}
|
||||
{% if is_ticket_button_enabled and event.ticket_url %}
|
||||
<a class="ai1ec-pull-right ai1ec-btn ai1ec-btn-primary ai1ec-btn-xs
|
||||
ai1ec-buy-tickets" target="_blank"
|
||||
href="{{ event.ticket_url | e( 'html_attr' ) }}"
|
||||
>{{ event.ticket_url_label }}</a>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
{% if event.edit_post_link %}
|
||||
<a class="post-edit-link"
|
||||
href="{{ event.edit_post_link | raw }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-pencil"></i> {{ text_edit }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="ai1ec-event-time">
|
||||
{{ event.popup_timespan | raw }}
|
||||
</div>
|
||||
|
||||
<a class="ai1ec-load-event"
|
||||
href="{{ event.permalink | e('html_attr') }}">
|
||||
{{ event.avatar_not_wrapped | raw }}
|
||||
</a>
|
||||
{{ action_buttons | raw }}
|
||||
{% if event.post_excerpt %}
|
||||
<div class="ai1ec-popup-excerpt">{{ event.post_excerpt | raw }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endfor %} {# dayarray in day.notallday #}
|
||||
</div>
|
||||
|
||||
</td>
|
||||
{% endfor %} {# day in cell_array #}
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<div class="ai1ec-pull-left">{{ pagination_links | raw }}</div>
|
||||
@@ -0,0 +1,14 @@
|
||||
<div class="ai1ec-pagination ai1ec-btn-group">
|
||||
{% for link in links %}
|
||||
{% if link is iterable %}
|
||||
<a class="{{ link.class }} ai1ec-load-view ai1ec-btn ai1ec-btn-sm
|
||||
ai1ec-btn-default {% if not link.enabled %}ai1ec-disabled{% endif %}"
|
||||
{{ data_type | raw }}
|
||||
href="{{ link.href | e('html_attr') }}">
|
||||
{{ link.text | raw }}
|
||||
</a>
|
||||
{% else %}
|
||||
{{ link | raw }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,25 @@
|
||||
{% if recurrence is not empty %}
|
||||
<div class="ai1ec-recurrence ai1ec-btn-group">
|
||||
<button class="ai1ec-btn ai1ec-btn-default ai1ec-btn-xs
|
||||
ai1ec-tooltip-trigger ai1ec-disabled ai1ec-text-muted"
|
||||
data-html="true"
|
||||
title="{% spaceless %}
|
||||
{{ recurrence | replace({'; ': '\n'})| e('html_attr') }}
|
||||
{% if exclude is not empty %}
|
||||
{{ ( '<div class="ai1ec-recurrence-exclude">' ~ 'Excludes: ' | __ ~ exclude ~ '</div>' ) | e('html_attr') }}
|
||||
{% endif %}
|
||||
{% endspaceless %}">
|
||||
<i class="ai1ec-fa ai1ec-fa-repeat"></i>
|
||||
{{ 'Repeats' | __ }}
|
||||
</button>
|
||||
|
||||
{% if edit_instance_url is not empty %}
|
||||
<a class="ai1ec-btn ai1ec-btn-default ai1ec-btn-xs ai1ec-tooltip-trigger
|
||||
ai1ec-text-muted"
|
||||
title="{{ edit_instance_text | e('html_attr') }}"
|
||||
href="{{ edit_instance_url }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-pencil"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,88 @@
|
||||
{% set alignment = alignment ? alignment : 'left' %}
|
||||
{% set placement = placement ? placement : 'down' %}
|
||||
{% set alignment2 = 'left' == alignment ? 'right' : 'left' %}
|
||||
{% set button_classes = button_classes ? button_classes : 'ai1ec-btn-sm' %}
|
||||
<div class="ai1ec-subscribe-dropdown ai1ec-dropdown{% if placement == 'up' %} ai1ec-dropup{% endif %} ai1ec-btn
|
||||
ai1ec-btn-default {{ button_classes | e('html_attr') }}">
|
||||
<span role="button" class="ai1ec-dropdown-toggle ai1ec-subscribe"
|
||||
data-toggle="ai1ec-dropdown">
|
||||
<i class="ai1ec-fa ai1ec-icon-rss ai1ec-fa-lg ai1ec-fa-fw"></i>
|
||||
<span class="ai1ec-hidden-xs">
|
||||
{% if subscribe_label is not empty %}
|
||||
{{ subscribe_label }}
|
||||
{% else %}
|
||||
{% if is_filtered %}
|
||||
{{ text_filtered }}
|
||||
{% else %}
|
||||
{{ text_subscribe }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<span class="ai1ec-caret"></span>
|
||||
</span>
|
||||
</span>
|
||||
{% set url = export_url | replace( {"webcal://": "http://"} ) ~ url_args %}
|
||||
{% set url_no_html = export_url_no_html | replace( {"webcal://": "http://"} ) ~ url_args ~ "&&" %}
|
||||
<ul class="ai1ec-dropdown-menu ai1ec-pull-{{ alignment2 }}" role="menu">
|
||||
<li>
|
||||
<a class="ai1ec-tooltip-trigger ai1ec-tooltip-auto" target="_blank"
|
||||
data-placement="{{ alignment }}" title="{{ text.title.timely }}"
|
||||
href="{{ url | e('html_attr') }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-lg ai1ec-fa-fw ai1ec-icon-timely"></i>
|
||||
{{ text.label.timely }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="ai1ec-tooltip-trigger ai1ec-tooltip-auto" target="_blank"
|
||||
data-placement="{{ alignment }}" title="{{ text.title.google }}"
|
||||
href="https://www.google.com/calendar/render?cid={{ url_no_html | url_encode | e('html_attr') }}">
|
||||
<i class="ai1ec-fa ai1ec-icon-google ai1ec-fa-lg ai1ec-fa-fw"></i>
|
||||
{{ text.label.google }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="ai1ec-tooltip-trigger ai1ec-tooltip-auto" target="_blank"
|
||||
data-placement="{{ alignment }}" title="{{ text.title.outlook }}"
|
||||
href="{{ ( export_url_no_html ~ url_args ) | e('html_attr') }}">
|
||||
<i class="ai1ec-fa ai1ec-icon-windows ai1ec-fa-lg ai1ec-fa-fw"></i>
|
||||
{{ text.label.outlook }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="ai1ec-tooltip-trigger ai1ec-tooltip-auto" target="_blank"
|
||||
data-placement="{{ alignment }}" title="{{ text.title.apple }}"
|
||||
href="{{ ( export_url_no_html ~ url_args ) | e('html_attr') }}">
|
||||
<i class="ai1ec-fa ai1ec-icon-apple ai1ec-fa-lg ai1ec-fa-fw"></i>
|
||||
{{ text.label.apple }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
{% set export_url_no_html_http = export_url_no_html | replace( {"webcal://": "http://"} ) %}
|
||||
<a class="ai1ec-tooltip-trigger ai1ec-tooltip-auto"
|
||||
data-placement="{{ alignment }}" title="{{ text.title.plaintext }}"
|
||||
href="{{ ( export_url_no_html_http ~ url_args ) | e('html_attr') }}">
|
||||
<i class="ai1ec-fa ai1ec-icon-calendar ai1ec-fa-fw"></i>
|
||||
{{ text.label.plaintext }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="ai1ec-tooltip-trigger ai1ec-tooltip-auto"
|
||||
data-placement="{{ alignment }}" title="{{ text.title.xml }}"
|
||||
href="{{ url | e('html_attr') }}&xml=true">
|
||||
<i class="ai1ec-fa ai1ec-fa-file-text ai1ec-fa-lg ai1ec-fa-fw"></i>
|
||||
{{ text.label.xml }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if show_get_calendar %}
|
||||
<a href="https://time.ly" target="_blank"
|
||||
class="ai1ec-btn ai1ec-btn-default ai1ec-get-calendar
|
||||
{{ button_classes | e('html_attr') }}">
|
||||
<small class="ai1ec-fa-stack ai1ec-text-info ai1ec-fa-fw">
|
||||
<i class="ai1ec-fa ai1ec-fa-square ai1ec-fa-stack-2x"></i>
|
||||
<i class="ai1ec-fa ai1ec-icon-timely ai1ec-fa-stack-1x ai1ec-fa-inverse ai1ec-fa-lg"></i>
|
||||
</small>
|
||||
<span class="ai1ec-hidden-xs">{{ text_get_calendar }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,32 @@
|
||||
<li class="ai1ec-dropdown ai1ec-tag-filter
|
||||
{% if selected_tag_ids is not empty %}ai1ec-active{% endif %}"
|
||||
data-slug="tag">
|
||||
<a class="ai1ec-dropdown-toggle" data-toggle="ai1ec-dropdown">
|
||||
<i class="ai1ec-fa ai1ec-fa-tags"></i>
|
||||
<span class="ai1ec-clear-filter ai1ec-tooltip-trigger"
|
||||
data-href="{{ clear_filter }}"
|
||||
{{ data_type | raw }}
|
||||
title="{{ text_clear_tag_filter }}">
|
||||
<i class="ai1ec-fa ai1ec-fa-times-circle"></i>
|
||||
</span>
|
||||
{{ text_tags }}
|
||||
<span class="ai1ec-caret"></span>
|
||||
</a>
|
||||
<div class="ai1ec-dropdown-menu">
|
||||
{% for term in tags %}
|
||||
<span data-term="{{ term.term_id }}"
|
||||
{% if term.term_id in selected_tag_ids %}
|
||||
class="ai1ec-active"
|
||||
{% endif %}>
|
||||
<a class="ai1ec-load-view ai1ec-tag"
|
||||
{% if term.description is not empty %}
|
||||
title="{{ term.description | e('html_attr') }}"
|
||||
{% endif %}
|
||||
{{ data_type | raw }}
|
||||
href="{{ term.href | e('html_attr') }}">
|
||||
{{ term.name | raw }}
|
||||
</a>
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
@@ -0,0 +1,55 @@
|
||||
<div class="timely-tickets-row">
|
||||
<form action="{{ tickets_checkout_url }}" method="GET" target="_blank">
|
||||
<input type="hidden" name="event_id" value="{{ api_event_id }}">
|
||||
<table class="ai1ec-table">
|
||||
<tbody>
|
||||
{% set first_ticket = true %}
|
||||
{% set has_active_tickets = false %}
|
||||
{% for ticket in tickets %}
|
||||
{% if ticket.status != 'hidden' %}
|
||||
<tr>
|
||||
<td class="ai1ec-tickets-amount">
|
||||
{% if ticket.availability == null %}
|
||||
{% set has_active_tickets = true %}
|
||||
<select class="select2 ai1ec-select2"
|
||||
name="ticket_type_{{ ticket.ticket_type_id }}">
|
||||
{% set value_to_select = 0 %}
|
||||
{% if 0 < ticket.buy_min_limit %}
|
||||
<option {% if 0 == value_to_select %}selected{% endif %}>0</option>
|
||||
{% endif %}
|
||||
{% for i in ticket.buy_min_limit..ticket.buy_max_available %}
|
||||
<option {% if i == value_to_select %}selected{% endif %}>{{ i }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% else %}
|
||||
<div class="ai1ec-tickets-availability">
|
||||
{{ ticket.availability | raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="ai1ec-tickets-info {% if ticket.availability != null %}ai1ec-tickets-info-inactive{% endif %}">
|
||||
<div class="ai1ec-tickets-title">
|
||||
<b>{% if ticket.symbol is defined %}{{ticket.symbol}}{% else %}${% endif %}{{ ticket.ticket_price}} {{ ticket.currency}}</b> {{ ticket.ticket_name }}
|
||||
</div>
|
||||
<div class="ai1ec-tickets-description">{{ ticket.description }}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if has_active_tickets == true %}
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<a href="#" id="ai1ec_tickets_submit"
|
||||
target="_blank" class="ai1ec-btn ai1ec-btn-sm ai1ec-btn-primary">
|
||||
<i class="ai1ec-fa ai1ec-fa-ticket"
|
||||
title="{{ buy_tickets_text | e('html_attr') }}"></i>
|
||||
{{ buy_tickets_text }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,28 @@
|
||||
{% if available_views | length > 1 %}
|
||||
<div class="ai1ec-views-dropdown ai1ec-btn-group ai1ec-pull-right">
|
||||
<a class="ai1ec-btn ai1ec-btn-sm ai1ec-btn-default ai1ec-dropdown-toggle"
|
||||
data-toggle="ai1ec-dropdown">
|
||||
<i class="ai1ec-icon-{{ current_view }} ai1ec-view-icon"></i>
|
||||
<span class="ai1ec-hidden-xs ai1ec-hidden-sm">
|
||||
{{ view_names[current_view] }}
|
||||
</span>
|
||||
<span class="ai1ec-caret"></span>
|
||||
</a>
|
||||
<div class="ai1ec-dropdown-menu">
|
||||
{% for key, args in available_views %}
|
||||
<div class="{% if key == current_view %}ai1ec-active{% endif %}"
|
||||
data-action="{{ key }}">
|
||||
<a id="ai1ec-view-{{ key }}"
|
||||
{{ data_type | raw }}
|
||||
class="ai1ec-load-view {{ key }}"
|
||||
href="{{ available_views[key].href }}">
|
||||
<i class="ai1ec-icon-{{ key }} ai1ec-view-icon"></i>
|
||||
<span class="ai1ec-hidden-xs ai1ec-hidden-sm">
|
||||
{{ available_views[key].desc }}
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1 @@
|
||||
{% include 'oneday.twig' %}
|
||||
@@ -0,0 +1,9 @@
|
||||
{{ before_widget | raw }}
|
||||
|
||||
{% if title is not empty %}
|
||||
{{ ( before_title ~ title ~ after_title ) | raw }}
|
||||
{% endif %}
|
||||
|
||||
{{ widget_html | raw }}
|
||||
|
||||
{{ after_widget | raw }}
|
||||
Reference in New Issue
Block a user