display expired time in red text

This commit is contained in:
Javier 2016-02-10 16:29:40 -03:00
parent c67d6ff80d
commit 966adbd322
1 changed files with 7 additions and 1 deletions

View File

@ -140,7 +140,13 @@
<contact address="{{tx.toAddress}}" ng-hide="tx.merchant"></contact>
</span>
</li>
<li class="line-b p10">
<li class="line-b p10" ng-if="paymentExpired">
<span class="text-gray" translate>Expired</span>
<span class="right text-alert">
<time>{{tx.paypro.expires * 1000 | amTimeAgo }}</time>
</span>
</li>
<li class="line-b p10" ng-if="!paymentExpired">
<span class="text-gray" translate>Expires</span>
<span class="right">
<time>{{tx.paypro.expires * 1000 | amTimeAgo }}</time>