(fix) Materalized link and image templates

This commit is contained in:
Ludovic Marcotte
2015-06-12 12:03:57 -04:00
committed by Francis Lachapelle
parent 34140e77fc
commit 4f75499439
5 changed files with 85 additions and 43 deletions
@@ -1,9 +1,23 @@
<?xml version="1.0" standalone="yes"?>
<img
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
var:src="pathToAttachment"
var:title="filenameForDisplay"
class="mailer_imagecontent"
></img>
<!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">
<md-card>
<img var:src="pathToAttachment"
var:title="filenameForDisplay"
class="md-card-image"></img>
<md-card-content>
<p>
<var:string value="filenameForDisplay" /><br/>
<var:string value="bodyInfo.size" formatter="sizeFormatter"/>
</p>
</md-card-content>
<div class="md-actions" layout="row" layout-align="end center">
<md-button var:href="pathForDownload">
<div class="md-icon-save md-icon-lg"><!-- save --></div>
</md-button>
</div>
</md-card>
</div>