blob: 581b201c01b17f59714ce6374b72961cea0b5763 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="assets_backend" name="calendar assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/scss" href="/calendar/static/src/scss/calendar.scss"/>
<script type="text/javascript" src="/calendar/static/src/js/base_calendar.js"></script>
<script type="text/javascript" src="/calendar/static/src/js/calendar_renderer.js"></script>
<script type="text/javascript" src="/calendar/static/src/js/calendar_controller.js"></script>
<script type="text/javascript" src="/calendar/static/src/js/calendar_model.js"></script>
<script type="text/javascript" src="/calendar/static/src/js/calendar_view.js"></script>
<script type="text/javascript" src="/calendar/static/src/js/mail_activity.js"></script>
<script type="text/javascript" src="/calendar/static/src/js/systray_activity_menu.js"></script>
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/calendar/static/tests/calendar_tests.js"/>
<script type="text/javascript" src="/calendar/static/tests/systray_activity_menu_tests.js"/>
</xpath>
</template>
<!-- Template rendered in route auth=None, for anonymous user. This allow them to see meeting details -->
<template id="invitation_page_anonymous" name="Calendar Invitation Page for anonymous users">
<t t-call="web.layout">
<t t-set="head">
<t t-call-assets="web.assets_common" t-js="false"/>
<t t-call-assets="web.assets_frontend" t-js="false"/>
</t>
<div class="container">
<div class="o_logo">
<img class="img img-fluid d-block mx-auto" src="/web/binary/company_logo" alt="Logo"/>
</div>
<div class="card">
<div class="card-header">
<h2>Calendar Invitation <small><t t-esc="event.name"/></small></h2>
</div>
<div class="card-body">
<div class="clearfix mb16" t-if="attendee.state != 'needsAction'">
<span class="float-right badge badge-info">
<t t-if="attendee.state == 'accepted'">Yes I'm going.</t>
<t t-if="attendee.state == 'declined'">No I'm not going.</t>
<t t-if="attendee.state == 'tentative'">Tentative</t>
<t t-if="attendee.state == 'needsAction'">No feedback yet</t>
</span>
</div>
<div class="table-responsive">
<table class="o_event_table table table-striped">
<tr>
<th>Invitation for</th>
<td><t t-esc="attendee.common_name"/> (<t t-esc="attendee.email"/>)</td>
</tr>
<tr>
<th>Date</th>
<td><t t-esc="event.display_time"/></td>
</tr>
<tr>
<th>Location</th>
<td><t t-esc="event.location or '-'"/></td>
</tr>
<tr>
<th>Attendees</th>
<td>
<ul>
<li t-foreach="event.attendee_ids" t-as="attendee" t-attf-class="o_#{attendee.state}">
<t t-esc="attendee.common_name"/>
</li>
</ul>
</td>
</tr>
<tr>
<th>Description</th>
<td><t t-esc="event.description or '-'"/></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</t>
</template>
</odoo>
|