diff --git a/static/src/xml/calendar_view.xml b/static/src/xml/calendar_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..12c795a81fe92e69bb45a825f28fdf2f5acabb11 --- /dev/null +++ b/static/src/xml/calendar_view.xml @@ -0,0 +1,16 @@ +<template> + + <t t-inherit="web.calendar-box" t-name="cgscop_fullcalendar.cgscop-calendar-box" t-inherit-mode="extension"> + <xpath expr="//div[hasclass('o_event_title')]" position="replace"> + <t t-if="record.calendar_description"> + <div class="o_event_title"> + <t t-raw="record.calendar_description" /> + </div> + </t> + <t t-else=""> + <div class="o_event_title" t-esc="record.display_name"/> + </t> + </xpath> + </t> + +</template>