Browse Source

mediatheque

dev-rcn
root 3 years ago
parent
commit
0e74d8551b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      views/mediatheque.xml

+ 2
- 1
views/mediatheque.xml View File

@ -60,6 +60,7 @@
<!-- Short Date -->
<div class="o_wevent_event_date position-absolute bg-white shadow-sm text-dark">
<span t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'format': 'YYYY'}" class="o_wevent_event_day"/>
<span t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'format': 'LLL'}" class="o_wevent_event_month"/>
<span t-field="event.with_context(tz=event.date_tz).date_begin" t-options="{'format': 'dd'}" class="o_wevent_event_day"/>
</div>
@ -83,7 +84,7 @@
</time>
<!-- Location -->
<div itemprop="location" t-field="event.address_id" t-options="{'widget': 'contact', 'fields': ['city'], 'no_marker': 'true'}"/>
<div class="mt8 d-flex align-items-center">
<div class="mt8 align-items-center">
<t t-foreach="event.tag_ids" t-as="tag">
<span t-if="tag.color"
t-attf-class="badge mr8 #{'badge-primary' if tag in search_tags else 'badge-light'} #{'o_tag_color_%s' % tag.color if tag.color else ''}">


Loading…
Cancel
Save