mirror of
https://github.com/moparisthebest/mail
synced 2024-12-21 23:08:50 -05:00
Show spinner for loading messages
This commit is contained in:
parent
d8fb06cb08
commit
b752269c68
@ -37,7 +37,7 @@
|
||||
<span><svg role="presentation"><use xlink:href="#icon-check" /></svg></span>
|
||||
</label>
|
||||
</li>
|
||||
<li class="mail-list-entry__flags-flagged" wo-touch="flag(email, !email.flagged); $event.stopPropagation()">
|
||||
<li ng-show="email.from" class="mail-list-entry__flags-flagged" wo-touch="flag(email, !email.flagged); $event.stopPropagation()">
|
||||
<svg ng-show="email.flagged"><use xlink:href="#icon-star_filled" /><title>Starred</title></svg>
|
||||
<svg ng-show="!email.flagged"><use xlink:href="#icon-star" /><title>Not Starred</title></svg>
|
||||
</li>
|
||||
@ -51,9 +51,10 @@
|
||||
<svg><use xlink:href="#icon-attachment" /><title>Attachments</title></svg>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 class="mail-list-entry__name">{{email.from[0].name || email.from[0].address}}</h3>
|
||||
<h3 ng-show="email.from" class="mail-list-entry__name">{{email.from[0].name || email.from[0].address}}</h3>
|
||||
<h3 ng-hide="email.from" class="mail-list-entry__name"><span class="spinner"></span></h3>
|
||||
<div class="mail-list-entry__subject">
|
||||
<strong>{{email.subject || 'No subject'}}</strong>
|
||||
<strong>{{email.from ? (email.subject || 'No subject') : ''}}</strong>
|
||||
<span>
|
||||
{{email.body ? email.body.substr(0, 200) : ''}}
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user