|
|
@ -47,92 +47,6 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<template id="kalachakra.event_description_full" inherit_id="website_event.event_description_full"> |
|
|
|
|
|
|
|
<xpath expr="//span[@itemprop='description']" position="before"> |
|
|
|
|
|
|
|
|
|
|
|
<t t-if="event.teaching_day_ids"> |
|
|
|
<h6 style="background-color: orange;">Enregistrements disponibles :</h6> |
|
|
|
|
|
|
|
<t t-foreach="event.teaching_day_ids.sorted(key=lambda r: r.sequence)" t-as="t_day"> |
|
|
|
|
|
|
|
<t t-if="t_day.teaching_session_ids"> |
|
|
|
<table class="table" style="font-size: smaller;"> |
|
|
|
<tr> |
|
|
|
<td colspan="3"><span t-esc="t_day.day_teaching"/></td> |
|
|
|
<td colspan="3"><span t-esc="t_day.day_teaching"/></td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td>Session</td> |
|
|
|
<td colspan="2">En français</td> |
|
|
|
<td colspan="2">In english</td> |
|
|
|
<td>Session</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td></td> |
|
|
|
<td>Audio</td> |
|
|
|
<td>Video</td> |
|
|
|
<td>Audio</td> |
|
|
|
<td>Video</td> |
|
|
|
<td></td> |
|
|
|
</tr> |
|
|
|
<t t-foreach="t_day.teaching_session_ids" t-as="media"> |
|
|
|
<tr> |
|
|
|
<td><span t-esc="media.description_fr" /></td> |
|
|
|
<t t-if="media.link_audio_fr"> |
|
|
|
<td><a t-attf-href="#{media.link_audio_fr}"><span>Audio FR</span></a></td> |
|
|
|
</t> |
|
|
|
<t t-if="not media.link_audio_fr"> |
|
|
|
<td> |
|
|
|
</td> |
|
|
|
</t> |
|
|
|
<t t-if="media.link_video_fr"> |
|
|
|
<td><a t-attf-href="#{media.link_video_fr}"><span>Video FR</span></a></td> |
|
|
|
</t> |
|
|
|
<t t-if="not media.link_video_fr"> |
|
|
|
<td> |
|
|
|
</td> |
|
|
|
</t> |
|
|
|
|
|
|
|
<t t-if="media.link_audio_en"> |
|
|
|
<td><a t-attf-href="#{media.link_audio_en}"><span>Audio EN</span></a></td> |
|
|
|
</t> |
|
|
|
<t t-if="not media.link_audio_en"> |
|
|
|
<td> |
|
|
|
</td> |
|
|
|
</t> |
|
|
|
<t t-if="media.link_video_en"> |
|
|
|
<td><a t-attf-href="#{media.link_video_en}"><span>Video EN</span></a></td> |
|
|
|
</t> |
|
|
|
<t t-if="not media.link_video_en"> |
|
|
|
<td> |
|
|
|
</td> |
|
|
|
</t> |
|
|
|
|
|
|
|
<td><span t-esc="media.description_en" /></td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
</t> |
|
|
|
</table> |
|
|
|
</t> |
|
|
|
<br></br> |
|
|
|
|
|
|
|
|
|
|
|
</t> |
|
|
|
|
|
|
|
</t> |
|
|
|
<t t-if="event.teaching_html_content_records_published"> |
|
|
|
<h6 style="background-color: orange;">Enregistrements disponibles :</h6> |
|
|
|
<div> |
|
|
|
<t t-raw="event.teaching_html_content_records"/> |
|
|
|
</div> |
|
|
|
<br></br><br></br> |
|
|
|
</t> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</xpath> |
|
|
|
<xpath expr="//span[@itemprop='description']" position="after"> |
|
|
|
<t t-if="event.find_out_more_link"> |
|
|
|
<br></br> |
|
|
|