1 <?xml version="1.0" standalone="yes"?>
2 <div xmlns="http://www.w3.org/1999/xhtml"
3 xmlns:var="http://www.skyrix.com/od/binding"
4 xmlns:label="OGo:label"
5 xmlns:const="http://www.skyrix.com/od/constant"
7 class="linked_attachment_frame"
9 <!-- TODO: add iMIP actions -->
13 <var:string label:value="Appointment"/>:
14 <var:string value="inEvent.summary" /> <!-- TODO: shorted title -->
16 <var:if condition="isLoggedInUserTheOrganizer">
17 (<var:string label:value="organized_by_you"/>)
19 <var:if condition="isLoggedInUserAnAttendee">
20 (<var:string label:value="you_are_an_attendee"/>)
25 <var:if condition="inCalendar.method" const:value="REQUEST">
26 <!-- sent to attendees to propose or update a meeting -->
27 <var:if condition="isLoggedInUserAnAttendee">
28 <p class="uix_ical_toolbar">
29 <a var:href="acceptLink" label:string="do_accept"/> |
30 <a var:href="declineLink" label:string="do_decline"/> |
31 <a var:href="tentativeLink" label:string="do_tentative"/>
32 <var:if condition="isEventStoredInCalendar" const:negate="1">
33 | <a var:href="addToCalendarLink" label:string="do_add_to_cal" />
38 <var:string label:value="Organizer" />
39 <a var:href="inEvent.organizer.email"
40 ><var:string value="organizerDisplayName" /></a>
41 <var:string label:value="request_info" />
45 <var:if condition="isLoggedInUserAnAttendee" const:negate="1">
47 <var:string label:value="Organizer" />
48 <a var:href="inEvent.organizer.email"
49 ><var:string value="organizerDisplayName" /></a>
50 <var:string label:value="request_info_no_attendee" />
56 <var:if condition="inCalendar.method" const:value="REPLY">
57 <!-- sent to organizer to update the status of the participant -->
58 <var:if condition="isReplySenderAnAttendee" const:negate="1">
59 <p><var:string label:value="reply_info_no_attendee" /></p>
62 <var:if condition="isReplySenderAnAttendee">
63 <p class="uix_ical_toolbar">
64 <a var:href="addStatusReplyLink"
65 var:_newstat="$inReplyAttendee.partStatWithDefault"
66 var:_sender="replySenderBaseEMail"
67 label:string="do_update_status"/>
70 <!-- TODO: replies to events not in the calendar? -->
74 <var:string label:value="$inReplyAttendee.partStatWithDefault" />,
77 label:value="$storedReplyAttendee.partStatWithDefault" />.
83 <var:if condition="inCalendar.method" const:value="CANCEL">
84 <!-- sent to attendees to notify of the attendee being removed or the
85 event being deleted -->
86 <var:if condition="isEventStoredInCalendar">
87 <p class="uix_ical_toolbar">
88 <a var:href="delFromCalendarLink" label:string="do_del_from_cal"/>
93 <!-- todo: if there are no attendees, the whole meeting was stopped -->
94 <var:string label:value="cancel_info_text" />
99 <var:if condition="inCalendar.method" const:value="ADD">
101 <p><var:string label:value="add_info_text" /></p>
105 <var:if condition="inCalendar.method" const:value="PUBLISH">
106 <!-- none-scheduling event sent to someone for adding to the calendar -->
107 <p><var:string label:value="publish_info_text" /></p>
111 <var:if condition="isLoggedInUserTheOrganizer">
114 REPLY => check whether it matches, if not suggest change, show
116 REFRESH => add button to resent iCal
117 COUNTER => show panel to decide on counter
120 <var:if condition="isLoggedInUserTheOrganizer" const:negate="1">
123 REQUEST => ACCEPT, TENTATIVELY, DECLINE buttons with comment field
124 - only show buttons for attendees
125 PUBLISH => just the 'add to calendar' button, rewrite organizer?
132 <!-- the user comment is used in replies -->
133 <var:if condition="inEvent.userComment.isNotEmpty">
134 <div class="linked_attachment_meta" style="background-color: white;">
135 <var:string value="inEvent.userComment" const:insertBR="1" />
141 <div class="linked_attachment_meta" style="background-color: white;">
142 <table border="0" class="linked_attachment_meta">
144 <td><var:string label:value="Time"/>:</td>
146 <!-- TODO: we need a better viewer for that -->
147 <var:string value="startTime" formatter="dateFormatter" />
148 <var:string label:value="to" />
149 <var:string value="endTime" formatter="dateFormatter" />
154 <td><var:string label:value="Organizer"/>:</td>
156 <a var:href="authorativeEvent.organizer.email"
157 ><var:string value="organizerDisplayName" /></a>
162 <td valign="top"><var:string label:value="Attendees"/>:</td>
164 <var:foreach list="authorativeEvent.participants" item="attendee">
165 <a var:href="attendee.email"
166 ><var:string value="attendee.cnForDisplay" /></a>
167 (<var:string label:value="$attendee.partStatWithDefault" />)
173 <var:if condition="inEvent.comment.isNotEmpty">
174 <tr> <!-- description in iCal -->
175 <td valign="top"><var:string label:value="Comment"/>:</td>
177 <var:string value="authorativeEvent.comment" const:insertBR="1" />
186 <var:string value="appointment" />
191 <pre style="display: none;"><var:string value="flatContentAsString" /></pre>