mirror of
https://github.com/moparisthebest/mail
synced 2025-02-07 10:30:18 -05:00
change rule to not display ciphertext
This commit is contained in:
parent
f770b52566
commit
f8722a6932
@ -36,16 +36,12 @@
|
|||||||
</div><!--/.ng-switch-->
|
</div><!--/.ng-switch-->
|
||||||
|
|
||||||
|
|
||||||
<div class="body" ng-switch="state.mailList.selected.encrypted === false || state.mailList.selected.decrypted === true">
|
<div class="body" ng-switch="state.mailList.selected.encrypted === true && state.mailList.selected.decrypted === false">
|
||||||
<div class="line">
|
<div class="line">
|
||||||
<div ng-switch-when="true">
|
<div ng-switch-when="true">This message contains encrypted content.</div>
|
||||||
|
<div ng-switch-default>
|
||||||
<!-- Render lines of a text-email in divs for easier styling -->
|
<!-- Render lines of a text-email in divs for easier styling -->
|
||||||
<div ng-repeat="line in state.mailList.selected.body.split('\n') track by $index" ng-class="{'empty-line': lineEmpty(line)}">
|
<div ng-repeat="line in state.mailList.selected.body.split('\n') track by $index" ng-class="{'empty-line': lineEmpty(line)}">{{line}}<br></div>
|
||||||
{{line}}<br>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div ng-switch-when="false">
|
|
||||||
This message contains encrypted content.
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!--/.body-->
|
</div><!--/.body-->
|
||||||
|
Loading…
Reference in New Issue
Block a user