sogo/UI/Templates/MailerUI/UIxMailView.wox
Wolfgang Sourdeau d6ec96337d Monotone-Parent: 5e910271752b8067a2d941ac785b3a1734258135
Monotone-Revision: c7ec1c8ca9b3e56461053165e999794e24dbeb25

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-11-15T17:58:20
Monotone-Branch: ca.inverse.sogo
2006-11-15 17:58:20 +00:00

89 lines
3.6 KiB
XML

<?xml version='1.0' standalone='yes'?>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:uix="OGo:uix"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label"
>
<var:if condition="clientObject.isKolabObject" const:negate="YES">
<!--
Note: We cannot make this section static (like the toolbar) because the CC
list has a dynamic height (would require some tricky JavaScript).
-->
<table class="mailer_fieldtable">
<tr class="mailer_fieldrow">
<td class="mailer_fieldname" ><var:string label:value="Subject"/>:</td>
<td class="mailer_subjectfieldvalue">
<var:string value="clientObject.subject"
formatter="context.mailSubjectFormatter"/>
</td>
</tr>
<tr class="mailer_fieldrow">
<td class="mailer_fieldname" ><var:string label:value="From"/>:</td>
<td class="mailer_fieldvalue">
<var:foreach list="clientObject.fromEnvelopeAddresses"
item="currentAddress">
<a var:href="currentAddressLink" onclick="return onMenuClick(event, 'addressMenu');" oncontextmenu="onMenuClick(event, 'addressMenu');">
<var:string value="currentAddress"
formatter="context.mailEnvelopeFullAddressFormatter" /></a>
</var:foreach>
</td>
</tr>
<tr class="mailer_fieldrow">
<td class="mailer_fieldname" ><var:string label:value="Date"/>:</td>
<td class="mailer_fieldvalue">
<var:string value="clientObject.date"
formatter="context.mailDateFormatter"/>
<!-- TODO:
(<a rsrc:href="tbird_073_viewer.png">screenshot</a>)
-->
</td>
</tr>
<tr class="mailer_fieldrow">
<td class="mailer_fieldname"><var:string label:value="To"/>:</td>
<td class="mailer_fieldvalue">
<var:foreach list="clientObject.toEnvelopeAddresses"
item="currentAddress"
><a var:href="currentAddressLink"
onmousedown="return false;"
onclick="return onMenuClick(event, 'addressMenu');"
oncontextmenu="onMenuClick(event, 'addressMenu');">
<var:string value="currentAddress"
formatter="context.mailEnvelopeFullAddressFormatter"
/></a>
</var:foreach>
</td>
</tr>
<var:if condition="hasCC">
<tr class="mailer_fieldrow">
<td class="mailer_fieldname"><var:string label:value="CC"/>:</td>
<td class="mailer_fieldvalue">
<var:foreach list="clientObject.ccEnvelopeAddresses"
item="currentAddress">
<a var:href="currentAddressLink"
onclick="return onMenuClick(event, 'addressMenu');"
oncontextmenu="onMenuClick(event, 'addressMenu');"
onmousedown="return false;"
><var:string value="currentAddress"
formatter="context.mailEnvelopeFullAddressFormatter"
/></a>
<!-- TODO: better to use li+CSS -->
</var:foreach>
</td>
</tr>
</var:if>
</table>
</var:if><!-- !Kolab -->
<div class="mailer_mailcontent"
oncontextmenu="onMenuClick(event, 'messageContentMenu');">
<var:component value="contentViewerComponent"
bodyInfo="clientObject.bodyStructure" />
</div>
</container>