Browse Source

media management

dev-rcn
root 3 years ago
parent
commit
469d60c4e9
1 changed files with 21 additions and 2 deletions
  1. +21
    -2
      views/event_templates_page_registration.xml

+ 21
- 2
views/event_templates_page_registration.xml View File

@ -51,10 +51,29 @@
<xpath expr="//span[@itemprop='description']" position="before"> <xpath expr="//span[@itemprop='description']" position="before">
<t t-if="event.media_link_ids"> <t t-if="event.media_link_ids">
<h6>Media links :</h6> <h6>Media links :</h6>
<table class="table" style="font-size: smaller;">
<tr>
<th>date</th>
<th>time start</th>
<th style="width: 10%;">link</th>
<th>format</th>
<th>duration</th>
<th>format</th>
<th>description</th>
</tr>
<t t-foreach="event.media_link_ids" t-as="media"> <t t-foreach="event.media_link_ids" t-as="media">
<a t-attf-href="#{media.media_link}"><span t-esc="media.media_link" /></a>
<br></br>
<tr>
<td ><span t-esc="media.date_recording" /></td>
<td><span t-esc="media.start_time_recording" /></td>
<td><a t-attf-href="#{media.link}"><span t-esc="media.link" /></a></td>
<td><span t-esc="media.format_recording" /></td>
<td><span t-esc="media.duration" /></td>
<td><span t-esc="media.description" /></td>
</tr>
</t> </t>
</table>
</t> </t>
</xpath> </xpath>
<xpath expr="//span[@itemprop='description']" position="after"> <xpath expr="//span[@itemprop='description']" position="after">


Loading…
Cancel
Save