1
0
mirror of https://github.com/moparisthebest/mail synced 2024-12-21 23:08:50 -05:00

Simplify spinner code

This commit is contained in:
Tankred Hase 2015-04-07 16:45:51 +02:00
parent abbd893438
commit 73febe287e

View File

@ -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>