1
0
mirror of https://github.com/moparisthebest/mail synced 2024-12-26 01:08:50 -05:00
mail/src/tpl/mail-list.html
2013-09-30 21:22:46 +02:00

19 lines
829 B
HTML

<!-- nav controll and section headline -->
<header data-icon="&#xe004;" ng-click="openNav(); $event.stopPropagation()">
<h2>{{currentFolder.type}}</h2>
</header>
<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}}</p>
<time>{{email.sentDate | date:'mediumDate'}}</time>
</div>
<p class="body">{{email.body}}</p>
</li>
</ul><!--/.mail-list-->
<footer ng-click="synchronize()">
{{lastUpdateLbl}} {{lastUpdate | date:'shortTime'}}
</footer>