sogo/UI/Templates/Appointments/SOGoAptMailReceipt.wox

81 lines
3.2 KiB
XML

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE container>
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<head>
<style type="text/css">
th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; font-size: 12px; line-height: 18px; }
</style>
</head>
<body>
<table cellpadding="2" cellspacing="2" border="0" style="width: 100%; max-width: 600px;">
<tr>
<th></th>
<td><h1 style="font-size: 18px; font-weight: normal; padding-bottom: 9px; border-bottom: 1px solid #ccc;"><var:string
value="aptSummary" const:escapeHTML="NO"/></h1></td>
</tr>
<tr>
<th align="right" style="font-weight: bold;"><var:string label:value="calendar_label" const:escapeHTML="NO"/></th>
<td><var:string value="calendarName" const:escapeHTML="NO"/></td>
</tr>
<var:if condition="apt.location.length"
><tr>
<th align="right" style="font-weight: bold;"><var:string label:value="location_label" const:escapeHTML="NO"/></th>
<td><var:string value="apt.location" const:escapeHTML="NO"/></td>
</tr></var:if>
<tr>
<th align="right" style="font-weight: bold;"><var:string label:value="startDate_label" const:escapeHTML="NO"/></th>
<td><var:string value="aptStartDate" const:escapeHTML="NO"/></td>
</tr>
<tr>
<th align="right" style="font-weight: bold;"><var:string label:value="endDate_label" const:escapeHTML="NO"/></th>
<td><var:string value="aptEndDate" const:escapeHTML="NO"/></td>
</tr>
<var:if condition="updatedAttendees.count"
><tr>
<td></td>
<th align="left" style="font-weight: bold; padding-top: 9px;"><var:string
label:value="The following attendees(s) were notified" const:escapeHTML="NO"/></th>
</tr>
<var:foreach list="updatedAttendees" item="currentRecipient">
<tr>
<td></td>
<td><a var:href="currentRecipient.email"><var:string value="currentRecipient.cn" const:escapeHTML="NO"/></a></td>
</tr></var:foreach>
</var:if>
<var:if condition="addedAttendees.count"
><tr>
<td></td>
<th align="left" style="font-weight: bold; padding-top: 9px;"><var:string
label:value="The following attendees(s) were added" const:escapeHTML="NO"/></th>
</tr>
<var:foreach list="addedAttendees" item="currentRecipient">
<tr>
<td></td>
<td><a var:href="currentRecipient.email"><var:string value="currentRecipient.cn" const:escapeHTML="NO"/></a></td>
</tr></var:foreach>
</var:if>
<var:if condition="deletedAttendees.count"
><tr>
<td></td>
<th align="left" style="font-weight: bold; padding-top: 9px;"><var:string
label:value="The following attendees(s) were removed" const:escapeHTML="NO"/></th>
</tr>
<var:foreach list="deletedAttendees" item="currentRecipient">
<tr>
<td></td>
<td><a var:href="currentRecipient.email"><var:string value="currentRecipient.cn" const:escapeHTML="NO"/></a></td>
</tr></var:foreach>
</var:if>
</table>
</body>
</html>