2013-09-04 07:01:32 -04:00
|
|
|
<div class="folder-name">
|
|
|
|
<p>
|
|
|
|
<span class="hamburger-btn">
|
|
|
|
<span class="blue-box blue-box-margin"></span>
|
|
|
|
<span class="blue-box blue-box-margin"></span>
|
|
|
|
<span class="blue-box blue-box-margin"></span>
|
|
|
|
</span>
|
2013-09-06 12:34:36 -04:00
|
|
|
{{folder}}
|
2013-09-04 07:01:32 -04:00
|
|
|
</p>
|
|
|
|
</div><!--/.folder-name-->
|
|
|
|
|
|
|
|
<div class="message-list">
|
|
|
|
<ul>
|
|
|
|
<li ng-repeat="email in emails" ng-class="{selected: email === selected}" ng-click="select(email)">
|
|
|
|
<div ng-class="{unread: email.unread, read: !email.unread}"></div>
|
2013-09-11 17:31:08 -04:00
|
|
|
<div ng-switch="email.attachments !== undefined && email.attachments.length > 0">
|
2013-09-11 13:50:34 -04:00
|
|
|
<div ng-switch-when="true" class="icon-attachment"></div>
|
|
|
|
</div>
|
2013-09-11 17:31:08 -04:00
|
|
|
<p class="from">{{email.from[0].name || email.from[0].address}}</p>
|
2013-09-04 07:01:32 -04:00
|
|
|
<p class="subject-line">
|
|
|
|
<span class="subject">{{email.subject}}</span>
|
2013-09-05 04:59:55 -04:00
|
|
|
<span class="sent-date">{{email.displayDate}}</span>
|
2013-09-04 07:01:32 -04:00
|
|
|
</p>
|
|
|
|
<p class="text-preview">{{email.body}}</p>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div><!--/.message-list-->
|