sogo/UI/Templates/MailPartViewers/UIxMailPartMessageViewer.wox
Francis Lachapelle 87007c35d1 Moved "to" field out of the "bodyAdditionalFields" DIV in the MailPartViewers template.
Monotone-Parent: 2b6cf9ec13774912de440dcfe08a03df4a580d4e
Monotone-Revision: d41e13d636a1fa2bf22bce99faacdbfccca67d9e

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-10-01T19:47:02
Monotone-Branch: ca.inverse.sogo
2009-10-01 19:47:02 +00:00

40 lines
1.3 KiB
XML

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE div>
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:label="OGo:label"
class="linked_attachment_frame">
<div class="linked_attachment_body">
<hr/>
<!-- TODO: the table is a DUP to UIxMailView, own component? -->
<div class="bodyFields">
<span class="fieldName"><var:string label:value="Subject"/>:</span>
<var:string value="messageSubject"/><br/>
<span class="fieldName"><var:string label:value="From"/>:</span>
<var:string value="fromAddresses"/><br/>
<span class="fieldName"><var:string label:value="Date"/>:</span>
<var:string value="envelope.date"
formatter="context.mailDateFormatter"/><br/>
<span class="fieldName"><var:string label:value="To"/>:</span>
<var:string value="toAddresses"/><br/>
<div class="bodyAdditionalFields">
<var:if condition="envelope.hasCC">
<span class="fieldName"><var:string label:value="CC"/>:</span>
<var:string value="ccAddresses"/>
</var:if>
</div>
</div>
<div class="bodyMailContent">
<var:component value="contentViewerComponent"
bodyInfo="contentInfo"
partPath="contentPartPath" />
</div>
<!-- debug
<pre><var:string value="envelope"/></pre>
<pre><var:string value="bodyInfo.body"/></pre>
-->
</div>
</div>