2013-10-27 06:32:12 -04:00
|
|
|
<div class="view-mail-list">
|
|
|
|
<!-- nav controll and section headline -->
|
|
|
|
<header data-icon="" ng-click="openNav(); $event.stopPropagation()">
|
|
|
|
<h2>{{currentFolder.type}}</h2>
|
|
|
|
</header>
|
2013-09-18 12:47:18 -04:00
|
|
|
|
2013-10-27 06:32:12 -04:00
|
|
|
<div class="list-wrapper" ng-iscroll>
|
|
|
|
<ul class="mail-list">
|
|
|
|
<li ng-class="{'mail-list-active': email === selected, 'mail-list-attachment': email.attachments !== undefined && email.attachments.length > 0, 'mail-list-unread': email.unread, 'mail-list-replied': email.answered}" ng-click="select(email)" ng-repeat="email in emails">
|
|
|
|
<h3>{{email.from[0].name || email.from[0].address}}</h3>
|
|
|
|
<div class="head">
|
|
|
|
<p class="subject">{{email.subject || 'No subject'}}</p>
|
|
|
|
<time>{{email.sentDate | date:'mediumDate'}}</time>
|
|
|
|
</div>
|
|
|
|
<p class="body">{{email.body}}</p>
|
|
|
|
</li>
|
|
|
|
</ul><!--/.mail-list-->
|
|
|
|
</div>
|
2013-09-27 11:48:21 -04:00
|
|
|
|
2013-11-06 09:15:36 -05:00
|
|
|
<footer ng-class="{syncing: lastUpdateLbl === 'Syncing ...'}" ng-click="synchronize()">
|
|
|
|
<span class="spinner"></span>
|
|
|
|
<span class="text">{{lastUpdateLbl}} {{lastUpdate | date:'shortTime'}}</span>
|
2013-10-27 06:32:12 -04:00
|
|
|
</footer>
|
|
|
|
</div><!--/.view-mail-list-->
|