Updated label for offer list when tiers is disabled

no refs
This commit is contained in:
Rishabh 2021-10-21 23:13:18 +05:30
parent c69f3a4035
commit fcbbbd4c4c

View File

@ -47,8 +47,11 @@
<h3>{{offer.name}}</h3> <h3>{{offer.name}}</h3>
</LinkTo> </LinkTo>
<LinkTo @route="offer" @model={{offer}} class="gh-list-data"> <LinkTo @route="offer" @model={{offer}} class="gh-list-data">
<span>{{offer.tier.name}}</span> {{#if (feature "multipleProducts")}}
<span class="midgrey">- {{if (eq offer.cadence 'month') 'Monthly' 'Yearly'}} </span> <span>{{offer.tier.name}}</span>
<span class="midgrey">-</span>
{{/if}}
<span class="midgrey">{{if (eq offer.cadence 'month') 'Monthly' 'Yearly'}} </span>
</LinkTo> </LinkTo>
<LinkTo @route="offer" @model={{offer}} class="gh-list-data"> <LinkTo @route="offer" @model={{offer}} class="gh-list-data">
<span class="offer-value"> <span class="offer-value">
@ -65,7 +68,7 @@
</LinkTo> </LinkTo>
<LinkTo @route="offer" @model={{offer}} class="gh-list-data"> <LinkTo @route="offer" @model={{offer}} class="gh-list-data">
<span>{{currency-symbol offer.finalCurrency}}{{gh-price-amount offer.updatedPrice}}</span> <span>{{currency-symbol offer.finalCurrency}}{{gh-price-amount offer.updatedPrice}}</span>
<span class="midgrey strike ml2">{{currency-symbol offer.finalCurrency}}{{gh-price-amount offer.originalPrice}}</span> <span class="midgrey strike ml2">{{currency-symbol offer.finalCurrency}}{{gh-price-amount offer.originalPrice}}</span>
</LinkTo> </LinkTo>
<LinkTo @route="offer" @model={{offer}} class="gh-list-data"> <LinkTo @route="offer" @model={{offer}} class="gh-list-data">
<span class="midgrey">{{offer.redemptionCount}}</span> <span class="midgrey">{{offer.redemptionCount}}</span>