1 <?xml version='1.0' standalone='yes'?>
3 <var:component xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:var="http://www.skyrix.com/od/binding"
5 xmlns:const="http://www.skyrix.com/od/constant"
7 xmlns:label="OGo:label"
8 className="UIxPageFrame"
11 <var:if condition="canAccess" const:negate="YES">
12 <var:string label:value="Forbidden" />
14 <var:if condition="canAccess">
15 <table id="skywintable"
23 <table cellpadding="0" cellspacing="0" width="100%">
27 <span class="window_label">
28 <var:string label:value="Schedule"/>
29 <var:string value="startDate" label:dateformat="dayLabelFormat" /> -
30 <var:string value="endDate" label:dateformat="dayLabelFormat" />
33 <td width="36" align="right" valign="center">
34 <var:component className="UIxWinClose"/>
41 <td id="skywinbodycell" class="wincontent">
42 <table border="0" width="100%" cellpadding="0" cellspacing="0">
45 <var:component className="UIxCalSelectTab"
46 const:selection="schedule"
47 currentDate="selectedDate"
49 <var:if condition="hasAnyAppointments" const:negate="YES">
50 <var:string label:value="No appointments found"
51 const:style="schedoverview"
54 <var:if condition="hasAnyAppointments">
61 <var:if condition="hasUserAppointments">
63 <!-- meetings proposed by user -->
64 <th colspan="5" class="schedoverview_title">
65 <var:string label:value="Meetings proposed by you" />
69 <th class="schedoverview"
70 ><var:string label:value="Start date" /></th>
71 <th class="schedoverview"
72 ><var:string label:value="Title" /></th>
73 <th class="schedoverview"
75 ><var:string label:value="participants"/></th>
77 <var:foreach list="userAppointments"
80 <var:foreach count="renderedParticipantsCount"
81 index="participantIndex"
84 <var:if condition="isFirstParticipant">
85 <td class="schedoverview"
88 <var:string value="item.startDate"
89 label:dateformat="sched_startDateFormat"
92 <td class="schedoverview"
95 <a var:href="appointmentViewURL"
97 ><var:string value="item.title"
98 const:escapeHTML="YES"
102 <td class="schedoverview">
103 <var:string value="participant" />
105 <td class="schedoverview">
106 <var:component className="UIxCalParticipationStatusView"
107 partStat="participationStatus"
112 <var:if condition="didTruncateParticipants">
114 <td colspan="2" class="schedoverview">
115 <a var:href="appointmentViewURL"
116 class="schedoverview"
117 ><var:string value="truncatedParticipantsCount" />
118 <var:string label:value="more participants" />...
126 <var:if condition="hasForeignAppointments">
127 <var:if condition="hasUserAppointments">
129 <td><var:entity const:name="nbsp" /></td>
133 <!-- meetings proposed to user -->
134 <th colspan="5" class="schedoverview_title">
135 <var:string label:value="Meetings proposed to you" />
139 <th class="schedoverview"
140 ><var:string label:value="Start date" /></th>
141 <th class="schedoverview"
142 ><var:string label:value="Title" /></th>
143 <th class="schedoverview"
145 ><var:string label:value="participants" /></th>
146 <th class="schedoverview"
147 ><var:string label:value="action" /></th>
149 <var:foreach list="foreignAppointments"
152 <var:foreach count="renderedParticipantsCount"
153 index="participantIndex"
156 <var:if condition="isFirstParticipant">
157 <td class="schedoverview"
158 var:rowspan="rowspan"
160 <var:string value="item.startDate"
161 label:dateformat="sched_startDateFormat"
164 <td class="schedoverview"
165 var:rowspan="rowspan"
167 <a var:href="appointmentViewURL"
168 class="schedoverview"
169 ><var:string value="item.title"
170 const:escapeHTML="YES"
174 <td class="schedoverview">
175 <var:string value="participant" />
177 <td class="schedoverview">
178 <var:component className="UIxCalParticipationStatusView"
179 partStat="participationStatus"
182 <td class="schedoverview">
183 <var:if-key const:key="participantIndex"
186 <var:if-key const:key="userParticipationStatus"
190 <a var:href="acceptAppointmentURL"
192 ><var:string label:value="accept" /></a>
194 <var:if-key const:key="userParticipationStatus"
198 <a var:href="declineAppointmentURL"
200 ><var:string label:value="decline" /></a>
206 <var:if condition="didTruncateParticipants">
208 <td colspan="3" class="schedoverview">
209 <a var:href="appointmentViewURL"
210 class="schedoverview"
211 ><var:string value="truncatedParticipantsCount" />
212 <var:string label:value="more participants" />...
221 <var:if condition="isUIxDebugEnabled">
222 <p class="schedoverview">
226 in fact, the workflow we wish to implement is :
227 person A sets a meeting with B and C
228 when he sets it, he clicks on a button : either "propose" or
229 "propose and mail" (obvious)
230 In both case, when B and C logs into SOGo, they see, in their
231 'news page', that a new meeting has beeing proposed
232 then by clicking on it, they can accept it
233 on the news, you have to show : meetings proposed to the person
234 logging in, meetings proposed BY the person logging in,
235 and their different acceptance
237 if you reject the meeting, it still appears in the news page
240 We have still two issues : ergonomic and functionnal
242 The ergonomic one : I propose two sections in the news page,
243 with each being a table, containing, each line, an apt,
244 with title, day, hour, participants (truncated), the line
245 being green if it has been accepted by all, red if rejected
247 grey if in another state
249 the functionnal : a meeting that is still not accepted by
250 everyone must appear in each participant's view, and be
251 counted in the conflict manager, or not ?
258 <tr bgcolor="#F5F5E9">
259 <td align="left" width="10">
260 <var:entity const:name="nbsp"/>
265 src="/sogod.woa/so/ControlPanel/Products/CommonUI/Resources/corner_right.gif"
270 <td colspan="2" bgcolor="#F5F5E9">
271 <table border="0" width="100%" cellpadding="10" cellspacing="0">