mirror of
https://github.com/moparisthebest/mail
synced 2025-01-10 21:18:02 -05:00
hide cyphertext from dom
This commit is contained in:
parent
250aa4b886
commit
f770b52566
@ -85,7 +85,7 @@
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
|
||||
div {
|
||||
&.line {
|
||||
word-wrap: break-word;
|
||||
|
||||
&.empty-line {
|
||||
|
@ -36,10 +36,17 @@
|
||||
</div><!--/.ng-switch-->
|
||||
|
||||
|
||||
<div class="body">
|
||||
<!-- 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)}">
|
||||
{{line}}<br>
|
||||
<div class="body" ng-switch="state.mailList.selected.encrypted === false || state.mailList.selected.decrypted === true">
|
||||
<div class="line">
|
||||
<div ng-switch-when="true">
|
||||
<!-- 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)}">
|
||||
{{line}}<br>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-switch-when="false">
|
||||
This message contains encrypted content.
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/.body-->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user