mirror of
https://github.com/moparisthebest/mail
synced 2024-12-21 23:08:50 -05:00
Simplify spinner code
This commit is contained in:
parent
abbd893438
commit
73febe287e
@ -51,8 +51,10 @@
|
||||
<svg><use xlink:href="#icon-attachment" /><title>Attachments</title></svg>
|
||||
</li>
|
||||
</ul>
|
||||
<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>
|
||||
<h3 class="mail-list-entry__name">
|
||||
<span ng-show="!email.from" class="spinner"></span>
|
||||
{{email.from[0].name || email.from[0].address}}
|
||||
</h3>
|
||||
<div class="mail-list-entry__subject">
|
||||
<strong>{{email.from ? (email.subject || 'No subject') : ''}}</strong>
|
||||
<span>
|
||||
|
Loading…
Reference in New Issue
Block a user