1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-12 04:05:13 -05:00
mail/src/tpl/message-list.html

27 lines
990 B
HTML
Raw Normal View History

<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}}
</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>
<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>
</p>
<p class="text-preview">{{email.body}}</p>
</li>
</ul>
</div><!--/.message-list-->