|
|
@ -133,6 +133,18 @@ |
|
|
|
</div> |
|
|
|
</t> |
|
|
|
</xpath> |
|
|
|
|
|
|
|
<xpath expr="//main" position="attributes"> |
|
|
|
|
|
|
|
<attribute name="t-att-style">'background-color:white!important' if not event.booking_event else 'background-color:#f9ee75 ! important'</attribute> |
|
|
|
|
|
|
|
|
|
|
|
</xpath> |
|
|
|
<xpath expr="//article" position="attributes"> |
|
|
|
|
|
|
|
<attribute name="t-att-style">'background-color:white!important' if not event.booking_event else 'background-color:#f9ee75 !important'</attribute> |
|
|
|
|
|
|
|
</xpath> |
|
|
|
<xpath expr="//h5[1]" position="replace"> |
|
|
|
<h5 t-attf-class="card-title mt-2 mb-0 #{(not event.website_published) and 'text-danger'}"> |
|
|
|
<span t-field="event.name" itemprop="name"/> |
|
|
|