Remove if blocks from snippets

This commit is contained in:
Tom Bloor 2017-09-07 13:58:25 +01:00
parent e19db92a20
commit 9bc9e34c51

View file

@ -2,19 +2,19 @@
<div class="card">
<div class="card-footer">
<ul>
<li *ngIf="showSnippet.customersthismonth" class="hidden-sm-down">
<li class="hidden-sm-down">
<div class="text-muted">Customers This Month</div>
<strong>{{customersThisMonth}}</strong>
</li>
<li *ngIf="showSnippet.moneyspentthismonth" class="hidden-sm-down">
<li class="hidden-sm-down">
<div class="text-muted">Money Spent This Month</div>
<strong>{{moneySpentThisMonth | currency:'GBP':true:'1.2-2'}}</strong>
</li>
<li *ngIf="showSnippet.pointstotal" class="hidden-sm-down">
<li class="hidden-sm-down">
<div class="text-muted">Points Total</div>
<strong>{{pointsTotal}}</strong>
</li>
<li *ngIf="showSnippet.averagetransactiontoday" class="hidden-sm-down">
<li class="hidden-sm-down">
<div class="text-muted">Average Transaction Today</div>
<strong>{{averageTransactionToday | currency:'GBP':true:'1.2-2'}}</strong>
</li>