1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-30 04:42:15 -05:00

show loading spinner for plaintext mails as well

This commit is contained in:
Tankred Hase 2014-03-14 14:56:25 +01:00
parent e1ba7eb2aa
commit 0bbe3af107

View File

@ -35,7 +35,7 @@
</div> </div>
</div><!--/.ng-switch--> </div><!--/.ng-switch-->
<div class="body" ng-switch="state.mailList.selected === undefined || state.mailList.selected.encrypted === false || (state.mailList.selected.encrypted === true && state.mailList.selected.decrypted === true)"> <div class="body" ng-switch="state.mailList.selected === undefined || (state.mailList.selected.encrypted === false && state.mailList.selected.body !== undefined) || (state.mailList.selected.encrypted === true && state.mailList.selected.decrypted === true)">
<div ng-switch-when="true"> <div ng-switch-when="true">
<!-- Render lines of a text-email in divs for easier styling --> <!-- Render lines of a text-email in divs for easier styling -->
<div class="line" ng-repeat="line in state.mailList.selected.body.split('\n') track by $index" ng-class="{'empty-line': lineEmpty(line)}">{{line}}<br></div> <div class="line" ng-repeat="line in state.mailList.selected.body.split('\n') track by $index" ng-class="{'empty-line': lineEmpty(line)}">{{line}}<br></div>