mirror of
https://github.com/moparisthebest/mail
synced 2024-11-12 20:25:01 -05:00
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
<div class="controls">
|
|
<button class="btn-icon"></button>
|
|
<button class="btn-icon"></button>
|
|
<button ng-click="write()" class="btn-icon"></button>
|
|
</div><!--/.controls-->
|
|
|
|
<div class="view-read">
|
|
<div class="headers">
|
|
<p class="subject">{{selected.subject}}</p>
|
|
<p class="date">{{selected.longDisplayDate}}</p>
|
|
<p class="address">From: <span class="label">{{selected.from[0].name || selected.from[0].address}}</span></p>
|
|
<p class="address">To: <span class="label" ng-repeat="t in selected.to">{{t.address}} </span></p>
|
|
<div ng-switch="selected.cc !== undefined">
|
|
<p class="address" ng-switch-when="true">
|
|
CC: <span class="label" ng-repeat="t in selected.cc">{{t.address}} </span>
|
|
</p>
|
|
</div>
|
|
</div><!--/.headers-->
|
|
|
|
<div class="seperator-line"></div>
|
|
|
|
<div class="body">
|
|
<p ng-repeat="part in selected.bodyDisplayParts track by $index">
|
|
<span ng-switch="part.length !== 0">
|
|
<span ng-switch-when="true">{{part}}</span>
|
|
</span>
|
|
</p>
|
|
</div><!--/.mail-text-body-->
|
|
</div><!--/.view-read--> |