mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Added offer details in member detail subscription box
refs https://github.com/TryGhost/Team/issues/1087 - associates a member with their offer redemptions by highlighting offer used for their subscription
This commit is contained in:
parent
1593eed79a
commit
e69ac92967
@ -173,6 +173,17 @@
|
||||
{{#if sub.cancellationReason}}
|
||||
<div class="gh-memberproduct-cancelreason"><span class="fw6">Cancellation reason:</span> {{sub.cancellationReason}}</div>
|
||||
{{/if}}
|
||||
{{#if sub.offer}}
|
||||
<div>
|
||||
<span style="font-weight: bold;"> {{sub.offer.name}} </span>
|
||||
offer
|
||||
{{#if (eq sub.offer.type 'fixed')}}
|
||||
({{currency-symbol sub.offer.currency}}{{gh-price-amount sub.offer.amount}} off)
|
||||
{{else}}
|
||||
({{sub.offer.amount}}% off)
|
||||
{{/if}}
|
||||
applied to subscription</div>
|
||||
{{/if}}
|
||||
<div class="gh-memberproduct-created">Created on {{sub.startDate}}</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user