sogo/UI/Templates/Appointments/SOGoAptMailReceipt.wox

57 lines
2.7 KiB
Plaintext
Raw Normal View History

<?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">
2012-11-17 01:11:13 +01:00
<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>