mirror of
https://github.com/moparisthebest/mail
synced 2024-08-13 16:43:47 -04:00
16 lines
525 B
HTML
16 lines
525 B
HTML
<!-- Render lines of a text-email in divs for easier styling -->
|
|
<div class="line"
|
|
ng-if="node.children === undefined"
|
|
ng-repeat="line in node.split('\n') track by $index"
|
|
ng-class="{'empty-line': lineEmpty(line)}">
|
|
<span ng-bind-html="line | createAnchors"></span>
|
|
<br>
|
|
</div><!--/.line-->
|
|
|
|
<!-- recursively render child node -->
|
|
<div class="prev-message"
|
|
ng-include="'tpl/text-node.html'"
|
|
ng-if="node.children !== undefined"
|
|
ng-repeat="child in node.children track by $index"
|
|
onload="node = child">
|
|
</div> |