2006-06-15 21:34:10 +02:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
2007-08-20 22:45:04 +02:00
|
|
|
<!DOCTYPE div>
|
2006-06-15 21:34:10 +02:00
|
|
|
<div xmlns="http://www.w3.org/1999/xhtml"
|
2007-08-20 22:45:04 +02:00
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
2007-08-20 23:55:18 +02:00
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
2015-05-29 16:49:40 +02:00
|
|
|
xmlns:label="OGo:label">
|
|
|
|
<md-whiteframe class="md-whiteframe-z1" layout="row" layout-align="space-between center">
|
|
|
|
<div layout="row">
|
|
|
|
<div>
|
|
|
|
<img var:src="mimeImageURL"/>
|
|
|
|
</div>
|
|
|
|
|
2015-07-04 03:40:37 +02:00
|
|
|
<div layout="column" layout-align="start start" layout-padding="layout-padding">
|
2015-05-29 16:49:40 +02:00
|
|
|
<div>
|
|
|
|
<var:string value="filenameForDisplay"/>
|
|
|
|
</div>
|
2015-07-04 03:40:37 +02:00
|
|
|
<div class="md-caption">
|
2015-05-29 16:49:40 +02:00
|
|
|
<var:string value="bodyInfo.size" formatter="sizeFormatter"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2006-06-15 21:34:10 +02:00
|
|
|
</div>
|
2007-08-20 22:45:04 +02:00
|
|
|
|
2015-05-29 16:49:40 +02:00
|
|
|
<div layout="row" layout-align="end end">
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" var:href="pathToAttachment">
|
2015-08-05 16:05:21 +02:00
|
|
|
<md-tooltip md-direction="left"><var:string label:value="View Attachment"/></md-tooltip>
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-icon>open_in_browser</md-icon>
|
2015-05-29 16:49:40 +02:00
|
|
|
</md-button>
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" var:href="pathForDownload">
|
2015-08-05 16:05:21 +02:00
|
|
|
<md-tooltip md-direction="left"><var:string label:value="Save Attachment"/></md-tooltip>
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-icon>save</md-icon>
|
2015-05-29 16:49:40 +02:00
|
|
|
</md-button>
|
|
|
|
</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 />
|
2007-08-20 22:45:04 +02:00
|
|
|
-->
|
2015-05-29 16:49:40 +02:00
|
|
|
|
|
|
|
</md-whiteframe>
|
2006-06-15 21:34:10 +02:00
|
|
|
</div>
|