|
|
@ -79,33 +79,41 @@ |
|
|
|
<t t-set="stages" t-value="event.state"/> |
|
|
|
<t t-if="stages == 'draft'"> |
|
|
|
<span class="badge rounded-pill text-bg-info"> |
|
|
|
<i aria-label="Unconfirmed" title="Unconfirmed" |
|
|
|
<i aria-label="Unconfirmed" |
|
|
|
title="Unconfirmed" |
|
|
|
role="img"/> |
|
|
|
<span class="d-none d-md-inline">Unconfirmed |
|
|
|
<span class="d-none d-md-inline"> |
|
|
|
Unconfirmed |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</t> |
|
|
|
<t t-elif="stages == 'cancel'"> |
|
|
|
<span class="badge rounded-pill text-bg-info"> |
|
|
|
<i aria-label="Cancelled" title="Cancelled" |
|
|
|
<i aria-label="Cancelled" |
|
|
|
title="Cancelled" |
|
|
|
role="img"/> |
|
|
|
<span class="d-none d-md-inline">Cancelled |
|
|
|
<span class="d-none d-md-inline"> |
|
|
|
Cancelled |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</t> |
|
|
|
<t t-elif="stages == 'open'"> |
|
|
|
<span class="badge rounded-pill text-bg-info"> |
|
|
|
<i aria-label="Confirmed" title="Confirmed" |
|
|
|
<i aria-label="Confirmed" |
|
|
|
title="Confirmed" |
|
|
|
role="img"/> |
|
|
|
<span class="d-none d-md-inline">Confirmed |
|
|
|
<span class="d-none d-md-inline"> |
|
|
|
Confirmed |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</t> |
|
|
|
<t t-elif="stages == 'done'"> |
|
|
|
<span class="badge rounded-pill text-bg-info"> |
|
|
|
<i aria-label="Attended" title="Attended" |
|
|
|
<i aria-label="Attended" |
|
|
|
title="Attended" |
|
|
|
role="img"/> |
|
|
|
<span class="d-none d-md-inline">Attended |
|
|
|
<span class="d-none d-md-inline"> |
|
|
|
Attended |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</t> |
|
|
@ -159,9 +167,11 @@ |
|
|
|
</div> |
|
|
|
<div class="row"> |
|
|
|
<div class="col flex-grow-0 pe-2"> |
|
|
|
<img class="rounded-circle mt-1 o_portal_contact_img" |
|
|
|
t-att-src="image_data_uri(event.partner_id.image_1920)" |
|
|
|
alt="Contact"/> |
|
|
|
<t t-if="event.partner_id.image_1920"> |
|
|
|
<img class="rounded-circle mt-1 o_portal_contact_img" |
|
|
|
t-att-src="image_data_uri(event.partner_id.image_1920)" |
|
|
|
alt="Contact"/> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
<div class="col ps-0"> |
|
|
|
<span t-field="event.partner_id" |
|
|
|