mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
(fix) Materalized link and image templates
This commit is contained in:
committed by
Francis Lachapelle
parent
34140e77fc
commit
4f75499439
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user