mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
(fix) properly handle subparts compilation for message/rfc822 message parts
This commit is contained in:
@@ -4,36 +4,42 @@
|
||||
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 class="pseudo-input-container">
|
||||
<label class="pseudo-input-label"><var:string label:value="Subject"/></label>
|
||||
<div>
|
||||
<var:string value="messageSubject"/>
|
||||
</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 class="pseudo-input-container">
|
||||
<label class="pseudo-input-label"><var:string label:value="From"/></label>
|
||||
<div>
|
||||
<var:string value="fromAddresses"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pseudo-input-container">
|
||||
<label class="pseudo-input-label"><var:string label:value="Date"/></label>
|
||||
<div>
|
||||
<var:string value="envelope.date" formatter="context.mailDateFormatter"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pseudo-input-container">
|
||||
<label class="pseudo-input-label"><var:string label:value="To"/></label>
|
||||
<div>
|
||||
<var:string value="toAddresses"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<var:if condition="envelope.hasCC">
|
||||
<div class="pseudo-input-container">
|
||||
<label class="pseudo-input-label"><var:string label:value="CC"/></label>
|
||||
<div>
|
||||
<var:string value="ccAddresses"/>
|
||||
</div>
|
||||
</div>
|
||||
</var:if>
|
||||
<br/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user