69 lines
3.1 KiB
XML
69 lines
3.1 KiB
XML
<?xml version='1.0' standalone='yes'?>
|
|
<container
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
xmlns:rsrc="OGo:url"
|
|
xmlns:label="OGo:label"
|
|
xmlns:uix="OGo:uix">
|
|
|
|
<md-content md-scroll-y="md-scroll-y" class="md-padding">
|
|
<header class="msg-header">
|
|
|
|
<div class="msg-header-content">
|
|
<h3 class="sg-md-title-msg" ng-bind="message.subject"><!-- subject --></h3>
|
|
<div class="pseudo-input-container--compact">
|
|
<label class="pseudo-input-label">
|
|
<var:string label:value="From"/>
|
|
</label>
|
|
<div class="pseudo-input-field">
|
|
<a ng-href="mailto:{{message.from[0].email}}" ng-bind="message.from[0].full"><!-- from --></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="pseudo-input-container--compact">
|
|
<label class="pseudo-input-label">
|
|
<var:string label:value="To"/>
|
|
</label>
|
|
<div class="pseudo-input-field">
|
|
<a ng-href="mailto:{{message.to[0].email}}" ng-bind="message.to[0].full"><!-- to --></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- <p class="flags">
|
|
<!– Todo: change the text for an icon (conditional ?) The read/unread flag doesn't make sense at his place–>
|
|
<span class="pseudo-input-label" ng-repeat="flag in message.flags">{{flag}}</span>
|
|
</p>
|
|
-->
|
|
|
|
<div class="sg-icon-bar">
|
|
<a class="button tiny radius"
|
|
ui-sref="mail.account.mailbox.message.action({accountId: account.id, mailboxId: (mailbox.path | encodeUri), messageId: message.uid, actionName: 'reply'})"><i class="md-icon-reply"><!-- reply --></i></a>
|
|
<a class="button tiny radius"
|
|
ui-sref="mail.account.mailbox.message.action({accountId: account.id, mailboxId: (mailbox.path | encodeUri), messageId: message.uid, actionName: 'replyall'})"><i class="md-icon-reply-all"><!-- reply all --></i></a>
|
|
<a class="button tiny radius"
|
|
ui-sref="mail.account.mailbox.message.action({accountId: account.id, mailboxId: (mailbox.path | encodeUri), messageId: message.uid, actionName: 'forward'})"><i class="md-icon-forward"><!-- forward --></i></a>
|
|
<a class="button tiny radius"
|
|
ui-sref="mail.account.mailbox.message.edit({accountId: account.id, mailboxId: (mailbox.path | encodeUri), messageId: message.uid})"
|
|
ng-show="message.isDraft"><i class="md-icon-create"><!-- edit --></i></a>
|
|
<span class="button tiny radius alert"
|
|
ng-click="doDelete(message)"><i class="md-icon-delete"><!-- delete --></i></span>
|
|
<span class="button tiny radius"
|
|
ng-show="message.hasUnsafeContent"
|
|
ng-click="loadImages()"><var:string label:value="Load Images"/></span>
|
|
</div>
|
|
</header>
|
|
<md-divider><!-- divider --></md-divider>
|
|
|
|
<div class="msg-body">
|
|
<div class="msg-date sg-md-body-multi">
|
|
<time datetime="message.date" ng-bind="message.date"><!-- date --></time>
|
|
</div>
|
|
<div class="mailer_mailcontent"
|
|
ng-bind-html="message.$content()"><!-- msg --></div>
|
|
</div>
|
|
|
|
</md-content>
|
|
</container>
|