sogo/UI/Templates/Appointments/SOGoAptMailReceipt.wox
Luc Charland 491089e194 Fixed bug 1929: Notifications about Modifications
Notifications about Modifications don't show the Calendar name.
When an email notification is selected by the user, the calendar name
from which the event was changed is added to the email.

Needs to be translated.
2012-09-19 10:35:05 -04:00

57 lines
2.8 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">
.container { max-width: 600px; }
h1 { font-size: 18px; font-weight: normal; padding-bottom: 9px; border-bottom: 1px solid #ccc; }
.dl-horizontal dt { float: left; width: 120px; overflow: hidden; clear: left; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
dt { font-weight: bold; line-height: 17px; }
dt, dd { font-size: 12px; line-height: 18px; }
dt { display: block; }
h1, dd, .dl-list dt { margin-left: 130px; }
</style>
</head>
<body>
<div class="container">
<h1><var:string value="aptSummary" const:escapeHTML="NO"/></h1>
<dl class="dl-horizontal">
<dt><var:string label:value="calendar_label" const:escapeHTML="NO"/></dt>
<dd><var:string value="calendarName" const:escapeHTML="NO"/></dd>
<var:if condition="apt.location.length"
><dt><var:string label:value="location_label" const:escapeHTML="NO"/></dt>
<dd><var:string value="apt.location" const:escapeHTML="NO"/></dd></var:if>
<dt><var:string label:value="startDate_label" const:escapeHTML="NO"/></dt>
<dd><var:string value="aptStartDate" const:escapeHTML="NO"/></dd>
<dt><var:string label:value="endDate_label" const:escapeHTML="NO"/></dt>
<dd><var:string value="aptEndDate" const:escapeHTML="NO"/></dd>
</dl>
<dl class="dl-list">
<var:if condition="updatedAttendees.count">
<dt><var:string label:value="The following attendees(s) were notified:" const:escapeHTML="NO"/></dt>
<var:foreach list="updatedAttendees" item="currentRecipient">
<dd><a var:href="currentRecipient.email"><var:string value="currentRecipient.cn" const:escapeHTML="NO"/></a></dd></var:foreach>
</var:if>
<var:if condition="addedAttendees.count">
<dt><var:string label:value="The following attendees(s) were added:" const:escapeHTML="NO"/></dt>
<var:foreach list="addedAttendees" item="currentRecipient">
<dd><a var:href="currentRecipient.email"><var:string value="currentRecipient.cn" const:escapeHTML="NO"/></a></dd></var:foreach>
</var:if>
<var:if condition="deletedAttendees.count">
<dt><var:string label:value="The following attendees(s) were removed:" const:escapeHTML="NO"/></dt>
<var:foreach list="deletedAttendees" item="currentRecipient">
<dd><a var:href="currentRecipient.email"><var:string value="currentRecipient.cn" const:escapeHTML="NO"/></a></dd></var:foreach>
</var:if>
</dl>
</div>
</body>
</html>