Added static HTML for free trial offer variant in offers list

refs https://github.com/TryGhost/Team/issues/1726
This commit is contained in:
Djordje Vlaisavljevic 2022-08-10 12:00:05 +02:00 committed by Rishabh Garg
parent 5cf6d212a9
commit 530da36a9c

View File

@ -61,6 +61,12 @@
<span class="blue">{{svg-jar "offer"}}</span>
<span class="blue fw6">{{gh-price-amount offer.amount}} <span class="ttu">{{offer.currency}}</span> OFF</span>
{{/if}}
{{#if (feature 'freeTrial')}}
{{#if (eq offer.type 'trial')}}
<span class="pink">{{svg-jar "offer"}}</span>
<span class="pink fw6"><span class="ttu">21</span> DAYS FREE</span>
{{/if}}
{{/if}}
<span class="dib ml1 midgrey ttc">  
{{if (eq offer.duration 'once') "First-payment" "Repeating"}}
</span>