2014-12-17 20:58:20 +01:00
|
|
|
<?xml version='1.0' standalone='yes'?>
|
|
|
|
<container
|
2015-01-26 08:42:01 +01:00
|
|
|
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">
|
2015-02-06 15:37:00 +01:00
|
|
|
|
2015-05-01 15:38:55 +02:00
|
|
|
<md-content md-scroll-y="md-scroll-y" class="md-padding bg-sogoPaper-50 md-whiteframe-z1">
|
|
|
|
<md-button class="iconButton show-sm" ng-click="toggleDetailView()">
|
|
|
|
<i class="md-icon-close"><!--icon--></i>
|
|
|
|
</md-button>
|
|
|
|
<header class="msg-header">
|
2015-02-11 10:04:09 +01:00
|
|
|
<div class="msg-header-content">
|
2015-02-26 16:58:17 +01:00
|
|
|
<h3 class="sg-md-title-msg" ng-bind="message.subject"><!-- subject --></h3>
|
2015-02-23 22:54:06 +01:00
|
|
|
<div class="pseudo-input-container--compact">
|
|
|
|
<label class="pseudo-input-label">
|
2015-02-11 10:04:09 +01:00
|
|
|
<var:string label:value="From"/>
|
|
|
|
</label>
|
2015-02-23 22:54:06 +01:00
|
|
|
<div class="pseudo-input-field">
|
2015-02-26 16:58:17 +01:00
|
|
|
<a ng-href="mailto:{{message.from[0].email}}" ng-bind="message.from[0].full"><!-- from --></a>
|
2015-02-06 15:37:00 +01:00
|
|
|
</div>
|
2015-02-11 10:04:09 +01:00
|
|
|
</div>
|
2015-02-10 09:17:10 +01:00
|
|
|
|
2015-02-23 22:54:06 +01:00
|
|
|
<div class="pseudo-input-container--compact">
|
|
|
|
<label class="pseudo-input-label">
|
2015-02-11 10:04:09 +01:00
|
|
|
<var:string label:value="To"/>
|
|
|
|
</label>
|
2015-02-23 22:54:06 +01:00
|
|
|
<div class="pseudo-input-field">
|
2015-02-26 16:58:17 +01:00
|
|
|
<a ng-href="mailto:{{message.to[0].email}}" ng-bind="message.to[0].full"><!-- to --></a>
|
2015-02-06 15:37:00 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-02-11 10:04:09 +01:00
|
|
|
</div>
|
2015-02-06 15:37:00 +01:00
|
|
|
|
2015-02-11 10:04:09 +01:00
|
|
|
<!-- <p class="flags">
|
|
|
|
<!– Todo: change the text for an icon (conditional ?) The read/unread flag doesn't make sense at his place–>
|
2015-02-26 16:58:17 +01:00
|
|
|
<span class="pseudo-input-label" ng-repeat="flag in message.flags">{{flag}}</span>
|
2015-02-11 10:04:09 +01:00
|
|
|
</p>
|
|
|
|
-->
|
2015-02-06 15:37:00 +01:00
|
|
|
|
2015-05-01 15:38:55 +02:00
|
|
|
<div class="sg-icon-bar--vertical">
|
2015-03-04 00:40:48 +01:00
|
|
|
<!-- todo: Replace md-tooltip values by localizable string variable -->
|
2015-05-01 15:38:55 +02:00
|
|
|
<md-button class="iconButton"
|
|
|
|
ui-sref="mail.account.mailbox.message.action({accountId: account.id, mailboxId: (mailbox.path | encodeUri), messageId: message.uid, actionName: 'reply'})"
|
|
|
|
aria-label="reply">
|
|
|
|
<md-tooltip md-direction="left"><var:string label:value="Reply to Sender Only"/></md-tooltip>
|
|
|
|
<i class="md-icon-reply"><!-- reply --></i>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="iconButton" aria-label="Reply All"
|
|
|
|
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>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="iconButton" aria-label="Forward"
|
|
|
|
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>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="iconButton" aria-label="Edit"
|
|
|
|
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>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="iconButton" aria-label="Delete"
|
|
|
|
ng-click="doDelete(message)"><i class="md-icon-delete"><!-- delete --></i>
|
|
|
|
</md-button>
|
2015-03-04 05:47:41 +01:00
|
|
|
<md-button class="iconButton" aria-label="Load Images"
|
2015-05-01 15:38:55 +02:00
|
|
|
ng-show="message.$hasUnsafeContent"
|
|
|
|
ng-click="message.loadUnsafeContent()">
|
2015-03-18 18:41:14 +01:00
|
|
|
<md-tooltip md-direction="left"><var:string label:value="Load Images"/></md-tooltip>
|
2015-03-04 00:40:48 +01:00
|
|
|
<i class="md-icon-image"><!--icon--></i>
|
|
|
|
</md-button>
|
2015-05-01 15:38:55 +02:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<md-divider><!-- divider --></md-divider>
|
2015-02-11 10:04:09 +01:00
|
|
|
|
2015-05-01 15:38:55 +02:00
|
|
|
<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>
|
2015-02-11 10:04:09 +01:00
|
|
|
</div>
|
2015-05-01 15:38:55 +02:00
|
|
|
</md-content>
|
2014-12-17 20:58:20 +01:00
|
|
|
</container>
|