2006-06-15 21:34:10 +02:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
2007-11-10 01:02:30 +01:00
|
|
|
<!DOCTYPE div>
|
2006-06-15 21:34:10 +02:00
|
|
|
<div xmlns="http://www.w3.org/1999/xhtml"
|
2007-11-10 01:02:30 +01:00
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:label="OGo:label"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:rsrc="OGo:url"
|
|
|
|
class="linked_attachment_frame"
|
|
|
|
>
|
2006-06-15 21:34:10 +02:00
|
|
|
<!-- TODO: add iMIP actions -->
|
|
|
|
|
2007-11-18 11:16:25 +01:00
|
|
|
<input id="iCalendarAttachment" type="hidden"
|
2008-01-16 19:53:12 +01:00
|
|
|
var:value="pathToAttachment"/>
|
2007-11-18 11:16:25 +01:00
|
|
|
|
2007-11-10 01:02:30 +01:00
|
|
|
<var:if condition="couldParseCalendar" const:negate="1">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Parsing Error</legend>
|
|
|
|
|
|
|
|
The SOGo/SOPE iCalendar parser could not parse the body of this MIME part.
|
|
|
|
|
|
|
|
<pre><var:string value="flatContentAsString" /></pre>
|
|
|
|
</fieldset>
|
|
|
|
</var:if>
|
|
|
|
|
|
|
|
<var:if condition="couldParseCalendar">
|
|
|
|
<fieldset>
|
|
|
|
<legend>
|
|
|
|
<var:string label:value="Appointment"/>:
|
|
|
|
<var:string value="inEvent.summary" /> <!-- TODO: shorted title -->
|
|
|
|
|
|
|
|
<var:if condition="isLoggedInUserTheOrganizer">
|
|
|
|
(<var:string label:value="organized_by_you"/>)
|
|
|
|
</var:if>
|
|
|
|
<var:if condition="isLoggedInUserAnAttendee">
|
|
|
|
(<var:string label:value="you_are_an_attendee"/>)
|
|
|
|
</var:if>
|
|
|
|
</legend>
|
|
|
|
|
2007-11-18 11:16:25 +01:00
|
|
|
<var:if condition="inCalendar.method.uppercaseString" const:value="REQUEST">
|
2007-11-10 01:02:30 +01:00
|
|
|
<!-- sent to attendees to propose or update a meeting -->
|
|
|
|
<var:if condition="isLoggedInUserAnAttendee">
|
2008-08-28 19:22:36 +02:00
|
|
|
<var:if condition="hasCalendarAccess">
|
|
|
|
<p class="uix_ical_toolbar" id="iCalendarToolbar">
|
|
|
|
<var:if condition="currentUserAttendee.partStatWithDefault"
|
|
|
|
const:value="ACCEPTED" const:negate="YES">
|
|
|
|
<input id="iCalendarAccept" class="button"
|
|
|
|
type="button" label:value="Accept"/>
|
|
|
|
</var:if>
|
|
|
|
<var:if condition="currentUserAttendee.partStatWithDefault"
|
|
|
|
const:value="DECLINED" const:negate="YES">
|
|
|
|
<input id="iCalendarDecline" class="button"
|
|
|
|
type="button" label:value="Decline"/>
|
|
|
|
</var:if>
|
|
|
|
<!-- <input id="iCalendarTentative" class="button"
|
|
|
|
type="button" label:value="Tentative"/> -->
|
|
|
|
<var:if condition="isEventStoredInCalendar" const:negate="YES">
|
|
|
|
| <input id="iCalendarAddToCalendar" class="button"
|
|
|
|
type="button" label:value="Add to calendar"/>
|
|
|
|
</var:if>
|
|
|
|
</p>
|
|
|
|
</var:if>
|
2007-11-10 01:02:30 +01:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<var:string label:value="Organizer" />
|
|
|
|
<a var:href="inEvent.organizer.email"
|
|
|
|
><var:string value="organizerDisplayName" /></a>
|
|
|
|
<var:string label:value="request_info" />
|
|
|
|
</p>
|
|
|
|
</var:if>
|
|
|
|
|
|
|
|
<var:if condition="isLoggedInUserAnAttendee" const:negate="YES">
|
|
|
|
<p>
|
|
|
|
<var:string label:value="Organizer" />
|
|
|
|
<a var:href="inEvent.organizer.email"
|
|
|
|
><var:string value="organizerDisplayName" /></a>
|
|
|
|
<var:string label:value="request_info_no_attendee" />
|
|
|
|
</p>
|
|
|
|
</var:if>
|
|
|
|
</var:if>
|
|
|
|
|
2008-08-28 19:22:36 +02:00
|
|
|
|
2007-11-18 11:16:25 +01:00
|
|
|
<var:if condition="inCalendar.method.uppercaseString" const:value="REPLY">
|
2007-11-10 01:02:30 +01:00
|
|
|
<!-- sent to organizer to update the status of the participant -->
|
|
|
|
<var:if condition="isReplySenderAnAttendee" const:negate="1">
|
|
|
|
<p><var:string label:value="reply_info_no_attendee" /></p>
|
|
|
|
</var:if>
|
|
|
|
|
|
|
|
<var:if condition="isReplySenderAnAttendee">
|
2008-06-02 22:05:38 +02:00
|
|
|
<var:if condition="canOriginalEventBeUpdated"
|
2007-11-18 11:16:25 +01:00
|
|
|
><p class="uix_ical_toolbar">
|
|
|
|
<input id="iCalendarUpdateUserStatus" class="button"
|
|
|
|
type="button" label:value="Update status"/>
|
2007-11-23 16:11:51 +01:00
|
|
|
</p>
|
2008-08-28 19:22:36 +02:00
|
|
|
|
|
|
|
<!-- TODO: replies to events not in the calendar? -->
|
2007-11-10 01:02:30 +01:00
|
|
|
|
2007-11-23 16:11:51 +01:00
|
|
|
<p>
|
|
|
|
Status Update:
|
|
|
|
<var:string label:value="$inReplyAttendee.partStatWithDefault" />,
|
|
|
|
was:
|
|
|
|
<var:string
|
|
|
|
label:value="$storedReplyAttendee.partStatWithDefault" />.
|
|
|
|
</p></var:if>
|
2007-11-10 01:02:30 +01:00
|
|
|
</var:if>
|
|
|
|
</var:if>
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2007-11-18 11:16:25 +01:00
|
|
|
<var:if condition="inCalendar.method.uppercaseString" const:value="CANCEL">
|
2007-11-10 01:02:30 +01:00
|
|
|
<!-- sent to attendees to notify of the attendee being removed or the
|
|
|
|
event being deleted -->
|
|
|
|
<var:if condition="isEventStoredInCalendar">
|
|
|
|
<p class="uix_ical_toolbar">
|
|
|
|
<input id="iCalendarDeleteFromCalendar" class="button"
|
|
|
|
type="button" label:value="Delete from calendar"/>
|
|
|
|
</p>
|
|
|
|
</var:if>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<!-- todo: if there are no attendees, the whole meeting was stopped -->
|
|
|
|
<var:string label:value="cancel_info_text" />
|
|
|
|
</p>
|
|
|
|
</var:if>
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
|
2007-11-18 11:16:25 +01:00
|
|
|
<var:if condition="inCalendar.method.uppercaseString" const:value="ADD">
|
2007-11-10 01:02:30 +01:00
|
|
|
<!-- TODO -->
|
|
|
|
<p><var:string label:value="add_info_text" /></p>
|
2006-06-15 21:34:10 +02:00
|
|
|
</var:if>
|
2007-11-10 01:02:30 +01:00
|
|
|
|
|
|
|
|
2007-11-18 11:16:25 +01:00
|
|
|
<var:if condition="inCalendar.method.uppercaseString" const:value="PUBLISH">
|
2007-11-10 01:02:30 +01:00
|
|
|
<!-- none-scheduling event sent to someone for adding to the calendar -->
|
|
|
|
<p><var:string label:value="publish_info_text" /></p>
|
2006-06-15 21:34:10 +02:00
|
|
|
</var:if>
|
|
|
|
|
|
|
|
|
2007-11-10 01:02:30 +01:00
|
|
|
<var:if condition="isLoggedInUserTheOrganizer">
|
|
|
|
<!--
|
|
|
|
Possible Status:
|
|
|
|
REPLY => check whether it matches, if not suggest change, show
|
|
|
|
comment
|
|
|
|
REFRESH => add button to resent iCal
|
|
|
|
COUNTER => show panel to decide on counter
|
|
|
|
-->
|
2006-06-15 21:34:10 +02:00
|
|
|
</var:if>
|
2007-11-10 01:02:30 +01:00
|
|
|
<var:if condition="isLoggedInUserTheOrganizer" const:negate="1">
|
|
|
|
<!--
|
|
|
|
Possible Status:
|
|
|
|
REQUEST => ACCEPT, TENTATIVELY, DECLINE buttons with comment field
|
|
|
|
- only show buttons for attendees
|
|
|
|
PUBLISH => just the 'add to calendar' button, rewrite organizer?
|
|
|
|
ADD / CANCEL
|
|
|
|
DECLINE-COUNTER
|
|
|
|
-->
|
2006-06-15 21:34:10 +02:00
|
|
|
</var:if>
|
|
|
|
|
2007-11-10 01:02:30 +01:00
|
|
|
<!-- the user comment is used in replies -->
|
|
|
|
<var:if condition="inEvent.userComment.isNotEmpty">
|
|
|
|
<div class="linked_attachment_meta" style="background-color: white;">
|
|
|
|
<var:string value="inEvent.userComment" const:insertBR="1" />
|
|
|
|
</div>
|
|
|
|
<br />
|
2006-06-15 21:34:10 +02:00
|
|
|
</var:if>
|
|
|
|
|
|
|
|
<div class="linked_attachment_meta" style="background-color: white;">
|
2007-11-10 01:02:30 +01:00
|
|
|
<table border="0" class="linked_attachment_meta">
|
|
|
|
<tr>
|
|
|
|
<td><var:string label:value="Time"/>:</td>
|
|
|
|
<td>
|
|
|
|
<!-- TODO: we need a better viewer for that -->
|
2009-03-24 21:50:18 +01:00
|
|
|
<var:string value="startDate" />
|
|
|
|
<var:if condition="inEvent.isAllDay" const:negate="YES">
|
|
|
|
<var:string value="startTime" />
|
|
|
|
</var:if>
|
|
|
|
<var:if condition="isEndDateOnSameDay">
|
|
|
|
<var:if condition="inEvent.isAllDay" const:negate="YES">
|
|
|
|
<var:string label:value="to" />
|
|
|
|
<var:string value="endTime" />
|
|
|
|
</var:if>
|
|
|
|
</var:if>
|
|
|
|
<var:if condition="isEndDateOnSameDay" const:negate="YES">
|
|
|
|
<var:string label:value="to" />
|
|
|
|
<var:string value="endDate" />
|
|
|
|
<var:if condition="inEvent.isAllDay" const:negate="YES">
|
|
|
|
<var:string value="endTime" />
|
|
|
|
</var:if>
|
|
|
|
</var:if>
|
2007-11-10 01:02:30 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td><var:string label:value="Organizer"/>:</td>
|
|
|
|
<td>
|
|
|
|
<a var:href="authorativeEvent.organizer.email"
|
|
|
|
><var:string value="organizerDisplayName" /></a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td valign="top"><var:string label:value="Attendees"/>:</td>
|
|
|
|
<td>
|
2008-12-05 17:11:54 +01:00
|
|
|
<var:foreach list="authorativeEvent.participants" item="attendee">
|
2007-11-10 01:02:30 +01:00
|
|
|
<a var:href="attendee.email"><var:string value="attendeeForDisplay"/></a>
|
|
|
|
(<var:string label:value="$attendee.partStatWithDefault" />)
|
|
|
|
<br />
|
|
|
|
</var:foreach>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2008-12-05 17:11:54 +01:00
|
|
|
<var:if condition="authorativeEvent.comment.isNotEmpty">
|
2007-11-10 01:02:30 +01:00
|
|
|
<tr> <!-- description in iCal -->
|
|
|
|
<td valign="top"><var:string label:value="Comment"/>:</td>
|
|
|
|
<td>
|
|
|
|
<var:string value="authorativeEvent.comment" const:insertBR="1" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</var:if>
|
|
|
|
</table>
|
2006-06-15 21:34:10 +02:00
|
|
|
</div>
|
2007-11-10 01:02:30 +01:00
|
|
|
</fieldset>
|
|
|
|
</var:if><!-- could parse -->
|
|
|
|
|
|
|
|
<!--
|
2006-06-15 21:34:10 +02:00
|
|
|
<var:string value="appointment" />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
2007-11-10 01:02:30 +01:00
|
|
|
-->
|
2008-01-24 16:03:12 +01:00
|
|
|
<!-- <pre style="display: none;"><var:string value="flatContentAsString" /></pre> -->
|
2006-06-15 21:34:10 +02:00
|
|
|
</div>
|