mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-21 14:22:44 +00:00
fix(calendar): disable wrapping of labels in mail templates
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<head>
|
||||
<style type="text/css">
|
||||
th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; font-size: 12px; line-height: 18px; }
|
||||
th { font-weight: bold; white-space: nowrap; vertical-align: top; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -21,13 +22,13 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
value="organizerName" const:escapeHTML="NO"/><var:string value="sentByText" const:escapeHTML="NO"/></small></h1></td>
|
||||
</tr> <var:if condition="location.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="location_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="location_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="location" const:escapeHTML="NO"/></td>
|
||||
</tr></var:if>
|
||||
|
||||
<var:if condition="apt.isAllDay">
|
||||
<tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="time_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="time_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="formattedAptStartDate"
|
||||
const:escapeHTML="NO"/><var:if condition="isEndDateOnSameDay" const:negate="YES"> <var:string label:value="to_label" const:escapeHTML="NO"/> <var:string value="formattedAptEndDate" const:escapeHTML="NO"/>
|
||||
</var:if></td>
|
||||
@@ -35,13 +36,13 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
</var:if>
|
||||
<var:if condition="apt.isAllDay" const:negate="YES">
|
||||
<tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="startDate_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="startDate_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="formattedAptStartDate" const:escapeHTML="NO"
|
||||
/><var:if condition="formattedAptStartTime.length"> - <var:string value="formattedAptStartTime" const:escapeHTML="NO"/> <var:string value="viewTZ" const:escapeHTML="NO"/>
|
||||
</var:if></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="endDate_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="endDate_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="formattedAptEndDate" const:escapeHTML="NO"
|
||||
/><var:if condition="formattedAptEndTime.length"> - <var:string value="formattedAptEndTime" const:escapeHTML="NO"/> <var:string value="viewTZ" const:escapeHTML="NO"/>
|
||||
</var:if></td>
|
||||
@@ -49,7 +50,7 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
</var:if>
|
||||
<var:if condition="apt.comment.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="comment_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="comment_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="apt.comment" const:escapeHTML="NO"/></td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<head>
|
||||
<style type="text/css">
|
||||
th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; font-size: 12px; line-height: 18px; }
|
||||
th { font-weight: bold; white-space: nowrap; vertical-align: top; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<head>
|
||||
<style type="text/css">
|
||||
th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; font-size: 12px; line-height: 18px; }
|
||||
th { font-weight: bold; white-space: nowrap; vertical-align: top; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -27,13 +28,13 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
value="getParticipationRole" const:escapeHTML="NO"/></h1></td>
|
||||
</tr> <var:if condition="location.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="location_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="location_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="location" const:escapeHTML="NO"/></td>
|
||||
</tr></var:if>
|
||||
|
||||
<var:if condition="apt.isAllDay">
|
||||
<tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="time_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="time_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="formattedAptStartDate"
|
||||
const:escapeHTML="NO"/><var:if condition="isEndDateOnSameDay" const:negate="YES"> <var:string label:value="to_label" const:escapeHTML="NO"/> <var:string value="formattedAptEndDate" const:escapeHTML="NO"/>
|
||||
</var:if></td>
|
||||
@@ -41,13 +42,13 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
</var:if>
|
||||
<var:if condition="apt.isAllDay" const:negate="YES">
|
||||
<tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="startDate_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="startDate_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="formattedAptStartDate" const:escapeHTML="NO"
|
||||
/><var:if condition="formattedAptStartTime.length"> - <var:string value="formattedAptStartTime" const:escapeHTML="NO"/> <var:string value="viewTZ" const:escapeHTML="NO"/>
|
||||
</var:if></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="endDate_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="endDate_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="formattedAptEndDate" const:escapeHTML="NO"
|
||||
/><var:if condition="formattedAptEndTime.length"> - <var:string value="formattedAptEndTime" const:escapeHTML="NO"/> <var:string value="viewTZ" const:escapeHTML="NO"/>
|
||||
</var:if></td>
|
||||
@@ -55,7 +56,7 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
</var:if>
|
||||
<var:if condition="apt.comment.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="comment_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="comment_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="apt.comment" const:escapeHTML="NO"/></td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<head>
|
||||
<style type="text/css">
|
||||
th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; font-size: 12px; line-height: 18px; }
|
||||
th { font-weight: bold; white-space: nowrap; vertical-align: top; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -20,22 +21,22 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
value="aptSummary"/></h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="calendar_label"/></th>
|
||||
<th align="right"><var:string label:value="calendar_label"/></th>
|
||||
<td><var:string value="calendarName"/></td>
|
||||
</tr>
|
||||
<var:if condition="apt.location.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="location_label"/></th>
|
||||
<th align="right"><var:string label:value="location_label"/></th>
|
||||
<td><var:string value="apt.location"/></td>
|
||||
</tr></var:if>
|
||||
<var:if condition="aptStartDate.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="startDate_label"/></th>
|
||||
<th align="right"><var:string label:value="startDate_label"/></th>
|
||||
<td><var:string value="aptStartDate"/></td>
|
||||
</tr></var:if>
|
||||
<var:if condition="aptEndDate.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="endDate_label"/></th>
|
||||
<th align="right"><var:string label:value="endDate_label"/></th>
|
||||
<td><var:string value="aptEndDate"/></td>
|
||||
</tr></var:if>
|
||||
|
||||
@@ -79,7 +80,7 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
</var:if>
|
||||
<var:if condition="apt.comment.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="comment_label"/></th>
|
||||
<th align="right"><var:string label:value="comment_label"/></th>
|
||||
<td><var:string value="apt.comment" const:escapeHTML="NO"/></td>
|
||||
</tr></var:if>
|
||||
</table>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<head>
|
||||
<style type="text/css">
|
||||
th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; font-size: 12px; line-height: 18px; }
|
||||
th { font-weight: bold; white-space: nowrap; vertical-align: top; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -21,34 +22,34 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
</tr>
|
||||
<var:if condition="calendarName.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="calendar_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="calendar_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="calendarName" const:escapeHTML="NO"/></td>
|
||||
</tr></var:if>
|
||||
<var:if condition="apt.location.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="location_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="location_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="apt.location" const:escapeHTML="NO"/></td>
|
||||
</tr></var:if>
|
||||
<var:if condition="aptStartDate.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="startDate_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="startDate_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="aptStartDate" const:escapeHTML="NO"/></td>
|
||||
</tr></var:if>
|
||||
<var:if condition="aptEndDate"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="endDate_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="endDate_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="aptEndDate" const:escapeHTML="NO"/></td>
|
||||
</tr></var:if>
|
||||
<var:if condition="apt.comment.length"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="comment_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="comment_label" const:escapeHTML="NO"/></th>
|
||||
<td><var:string value="apt.comment" const:escapeHTML="NO"/></td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="attendees.count"
|
||||
><tr></tr><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="organizer_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="organizer_label" const:escapeHTML="NO"/></th>
|
||||
<var:if condition="organizer.cn">
|
||||
<td><a var:href="organizer.email"><var:string value="organizer.cn" const:escapeHTML="NO"/></a></td>
|
||||
</var:if>
|
||||
@@ -58,7 +59,7 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string label:value="attendee_label" const:escapeHTML="NO"/></th>
|
||||
<th align="right"><var:string label:value="attendee_label" const:escapeHTML="NO"/></th>
|
||||
<var:foreach list="attendees" item="currentRecipient">
|
||||
<var:if condition="currentRecipient.cn">
|
||||
<td><a var:href="currentRecipient.email"><var:string value="currentRecipient.cn" const:escapeHTML="NO"/></a></td>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<head>
|
||||
<style type="text/css">
|
||||
th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; font-size: 12px; line-height: 18px; }
|
||||
th { font-weight: bold; white-space: nowrap; vertical-align: top; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -32,7 +33,7 @@ th, td { font-family: Lucida Grande, Bitstream VeraSans, Tahoma, sans-serif; fon
|
||||
</tr>
|
||||
<var:foreach list="allChangesList" item="currentItem"
|
||||
><tr>
|
||||
<th align="right" style="font-weight: bold;"><var:string value="currentItem"/></th>
|
||||
<th align="right"><var:string value="currentItem"/></th>
|
||||
<td><var:string value="valueForCurrentItem"/></td>
|
||||
</tr>
|
||||
</var:foreach>
|
||||
|
||||
Reference in New Issue
Block a user