sogo/UI/Templates/MailPartViewers/UIxMailPartLinkViewer.wox
Francis Lachapelle e812288063 Improved messages attachments display in web interface
Monotone-Parent: d5f67d6e4d96fb56aedcbaef7a68bdf915d7ad8c
Monotone-Revision: b3a24e425f02d22903e826a50c1e2421ea43be6f

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-05-05T21:16:11
Monotone-Branch: ca.inverse.sogo
2009-05-05 21:16:11 +00:00

40 lines
1.4 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:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label"
class="linked_attachment_frame file"
>
<div class="linked_attachment_body">
<a var:href="pathToAttachment"
var:title="filenameForDisplay"
const:absolute="YES"
><img var:src="mimeImageUrl" />
</a>
<div class="linked_attachment_meta">
<var:string value="filenameForDisplay"
/> (<var:string value="bodyInfo.size" formatter="sizeFormatter" />)
</div>
<!-- debug
<pre><var:string value="bodyInfo"/></pre>
<a var:href="pathToAttachment"
var:title="bodyInfo"
class="mailer_imagecontent"
>[<var:string value="pathToAttachment" />]</a>
<br />
Id: <var:string value="bodyInfo.bodyId" /><br />
Desc: <var:string value="bodyInfo.description" /><br />
Enc: <var:string value="bodyInfo.encoding" /><br />
Par: <var:string value="bodyInfo.parameterList" /><br />
Size: <var:string value="bodyInfo.size" /><br />
Type: <var:string value="bodyInfo.type" /><br />
Subtype: <var:string value="bodyInfo.subtype" /><br />
Path: <var:string value="pathToAttachment" /><br />
PartPath: <var:string value="partPath" /><br />
-->
</div>
</div>