GOLEM/calendar/static/src/xml/base_calendar.xml

32 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<template>
<t t-name="Many2ManyAttendeeTag" t-extend="FieldMany2ManyTag">
<t t-jquery="span:first" t-operation="prepend">
<span t-attf-class="o_calendar_invitation #{el['status']}"/>
</t>
</t>
<t t-name="CalendarNotification" t-extend="Notification">
<t t-jquery=".o_notification_title > t" t-operation="replace">
<span t-attf-class="link2event eid_{{widget.eid}}">
<t t-esc="widget.title"/>
</span>
</t>
<t t-jquery=".o_notification_content" t-operation="append">
<br/><br/>
<button type="button" class="btn btn-sm btn-primary link2showed oe_highlight oe_form oe_button"><span>OK</span></button>
<button type="button" class="btn btn-sm btn-link link2event">Details</button>
<button type="button" class="btn btn-sm btn-link link2recall">Snooze</button>
</t>
</t>
<t t-extend="CalendarView.sidebar.contacts">
<t t-jquery="span[t-attf-class*='color_filter']" t-operation="after">
<t t-if="(filters_value.value != -1) &amp;&amp; (filters_value.can_be_removed)">
<span class="o_remove_contact fa fa-times" title="Remove this favorite from the list" t-att-data-id="filters_value.value"/>
</t>
</t>
</t>
</template>