2014-12-17 20:58:20 +01:00
|
|
|
<?xml version='1.0' standalone='yes'?>
|
|
|
|
<container
|
2015-02-26 17:27:36 +01:00
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
2015-01-26 04:33:00 +01:00
|
|
|
>
|
2015-02-16 08:15:01 +01:00
|
|
|
<md-content style="position: relative;" id="messagesList">
|
2015-01-26 04:33:00 +01:00
|
|
|
<style>
|
|
|
|
.vs-repeat-repeated-element {
|
2015-02-04 15:46:58 +01:00
|
|
|
width: 100%;
|
2015-01-26 04:33:00 +01:00
|
|
|
}
|
|
|
|
</style>
|
2015-02-16 08:15:01 +01:00
|
|
|
<header class="sg-md-subheader">
|
2015-02-06 01:16:49 +01:00
|
|
|
<h2 class="sg-md-subhead-solo fg-sogoBlue-700">Unread Messages</h2>
|
2015-02-03 22:03:36 +01:00
|
|
|
</header>
|
2015-02-03 19:34:44 +01:00
|
|
|
|
2015-02-26 16:58:17 +01:00
|
|
|
<md-list vs-repeat="72"
|
|
|
|
vs-scroll-parent="#messagesList">
|
2015-02-04 15:46:58 +01:00
|
|
|
<md-item ng-repeat="currentMessage in mailbox.$messages track by currentMessage.id"
|
2015-02-26 16:58:17 +01:00
|
|
|
ng-class="{unread: !currentMessage.isread}">
|
2015-02-27 21:26:18 +01:00
|
|
|
<md-item-content ui-sref-active="_selected">
|
2015-02-04 15:46:58 +01:00
|
|
|
<div class="md-tile-left">
|
2015-01-26 04:33:00 +01:00
|
|
|
<!--avatar-->
|
|
|
|
</div>
|
2015-02-04 15:46:58 +01:00
|
|
|
<div class="sg-tile-content">
|
2015-03-19 08:40:46 +01:00
|
|
|
<a ui-sref="mail.account.mailbox.message({accountId: account.id, mailboxId: (mailbox.path | encodeUri), messageId: currentMessage.uid})" ng-click="toggleRight()">
|
2015-02-06 15:37:00 +01:00
|
|
|
<div class="sg-md-subhead-multi subject">
|
|
|
|
{{currentMessage.subject}}
|
2015-01-26 04:33:00 +01:00
|
|
|
</div>
|
2015-02-26 16:58:17 +01:00
|
|
|
<span class="right msg-date" ng-bind-html="currentMessage.relativedate"><!-- date --></span>
|
2015-02-06 15:37:00 +01:00
|
|
|
<div class="sg-md-body-multi name">{{currentMessage.$shortAddress('from')}}</div>
|
2015-02-04 15:46:58 +01:00
|
|
|
<i class="icon-ion-refresh"
|
2015-02-26 16:58:17 +01:00
|
|
|
ng-hide="mailbox.$loadMessage(currentMessage.uid)"><!-- loading --></i>
|
2015-01-26 04:33:00 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
2015-02-06 15:37:00 +01:00
|
|
|
<div class="sg-tile-icons">
|
2015-02-09 15:48:58 +01:00
|
|
|
<!--<a><i class="md-icon-star"> </i></a>-->
|
|
|
|
<i class="md-icon-flag" ng-show="currentMessage.isflagged"> </i>
|
|
|
|
<i class="md-icon-attach-file disable" ng-show="currentMessage.hasattachment"> </i>
|
2015-02-06 15:37:00 +01:00
|
|
|
</div>
|
2015-01-26 04:33:00 +01:00
|
|
|
</md-item-content>
|
|
|
|
</md-item>
|
|
|
|
</md-list>
|
|
|
|
</md-content>
|
2015-01-14 17:36:10 +01:00
|
|
|
|
2015-03-19 08:40:46 +01:00
|
|
|
|
|
|
|
<div layout="column" ui-view="message" md-component-id="right"><!-- message view --></div>
|
|
|
|
|
|
|
|
|
2015-01-14 17:36:10 +01:00
|
|
|
|
2014-12-17 20:58:20 +01:00
|
|
|
</container>
|