|
|
@ -71,26 +71,26 @@ |
|
|
|
</xpath> |
|
|
|
|
|
|
|
<xpath expr="//div[1][@class='o_wevent_sidebar_block']" position="replace"> |
|
|
|
<div class="o_wevent_sidebar_block"> |
|
|
|
<h6 class="o_wevent_sidebar_title">Date & Time</h6> |
|
|
|
<div class="o_wevent_sidebar_block_kala"> |
|
|
|
<h6 class="o_wevent_sidebar_title kala_evt1">Date & Time</h6> |
|
|
|
<div class="d-flex"> |
|
|
|
<h5 t-field="event.with_context(tz=event.date_tz).date_begin" class="my-1 mr-1" t-options="{'date_only': 'true', 'format': 'EEEE'}"/> |
|
|
|
<h5 class="my-1" t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'date_only': 'true', 'format': 'long'}" itemprop="startDate" t-att-datetime="event.date_begin"/> |
|
|
|
<span t-field="event.with_context(tz=event.date_tz).date_begin" class="my-1 mr-1 kala_evt1" t-options="{'date_only': 'true', 'format': 'EEEE'}"/> |
|
|
|
<span class="my-1 kala_evt1" t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'date_only': 'true', 'format': 'long'}" itemprop="startDate" t-att-datetime="event.date_begin"/> |
|
|
|
</div> |
|
|
|
<t t-if="not event.is_one_day">Start -</t> |
|
|
|
<span t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'time_only': 'true', 'format': 'short'}"/> |
|
|
|
<t t-if="not event.is_one_day"><span class="kala_evt1">Start -</span></t> |
|
|
|
<span class="kala_evt1" t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'time_only': 'true', 'format': 'short'}"/> |
|
|
|
<t t-if="event.is_one_day"> |
|
|
|
<i class="fa fa-long-arrow-right mx-1"/> |
|
|
|
<span t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'time_only': 'true', 'format': 'short'}"/> |
|
|
|
<span class="kala_evt1" t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'time_only': 'true', 'format': 'short'}"/> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<i class="fa fa-long-arrow-down d-block text-muted mx-3 my-2" style="font-size: 1.5rem"/> |
|
|
|
<div class="d-flex"> |
|
|
|
<h5 t-field="event.with_context(tz=event.date_tz).date_end" class="my-1 mr-1" t-options="{'date_only': 'true', 'format': 'EEEE'}"/> |
|
|
|
<h5 class="my-1" t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'date_only': 'true', 'format': 'long'}"/> |
|
|
|
<span t-field="event.with_context(tz=event.date_tz).date_end" class="my-1 mr-1 kala_evt1" t-options="{'date_only': 'true', 'format': 'EEEE'}"/> |
|
|
|
<span class="my-1 kala_evt1" t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'date_only': 'true', 'format': 'long'}"/> |
|
|
|
</div> |
|
|
|
<t t-if="not event.is_one_day">End -</t> |
|
|
|
<span t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'time_only': 'true', 'format': 'short'}"/> |
|
|
|
<t t-if="not event.is_one_day"><span class="kala_evt1">End -</span></t> |
|
|
|
<span class="kala_evt1" t-field="event.with_context(tz=event.date_tz).date_end" t-options="{'time_only': 'true', 'format': 'short'}"/> |
|
|
|
</t> |
|
|
|
|
|
|
|
|
|
|
@ -105,18 +105,18 @@ |
|
|
|
</div> |
|
|
|
</xpath> |
|
|
|
<xpath expr="//div[2][@class='o_wevent_sidebar_block']" position="replace"> |
|
|
|
<div t-if="event.address_id" class="o_wevent_sidebar_block"> |
|
|
|
<h6 class="o_wevent_sidebar_title">Location</h6> |
|
|
|
<h4 t-field="event.address_id" class="" t-options='{ |
|
|
|
<div t-if="event.address_id" class="o_wevent_sidebar_block_kala"> |
|
|
|
<span class="o_wevent_sidebar_title kala_evt1">Location</span> |
|
|
|
<span t-field="event.address_id" class="kala_evt1" t-options='{ |
|
|
|
"widget": "contact", |
|
|
|
"fields": ["name"] |
|
|
|
}'/> |
|
|
|
<div itemprop="location" class="mb-2" t-field="event.address_id" t-options='{ |
|
|
|
<div itemprop="location" class="mb-2 kala_evt1" t-field="event.address_id" t-options='{ |
|
|
|
"widget": "contact", |
|
|
|
"fields": ["address"], |
|
|
|
"no_marker": True |
|
|
|
}'/> |
|
|
|
<div class="mb-3" t-field="event.address_id" t-options='{ |
|
|
|
<div class="mb-3 kala_evt1" t-field="event.address_id" t-options='{ |
|
|
|
"widget": "contact", |
|
|
|
"fields": ["phone", "mobile", "email"] |
|
|
|
}'/> |
|
|
|