mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Added redemption count for offers in list screen
closes https://github.com/TryGhost/Team/issues/1136
This commit is contained in:
parent
eda694b69f
commit
b94bb836f5
@ -10,6 +10,7 @@ export default Model.extend(ValidationEngine, {
|
||||
status: attr('string', {defaultValue: 'active'}),
|
||||
tier: attr(),
|
||||
stripeCouponId: attr('string'),
|
||||
redemptionCount: attr('number'),
|
||||
currency: attr('string'),
|
||||
type: attr('string', {defaultValue: 'percent'}),
|
||||
amount: attr('number'),
|
||||
|
@ -63,7 +63,7 @@
|
||||
</span>
|
||||
</LinkTo>
|
||||
<LinkTo @route="offer" @model={{offer}} class="gh-list-data">
|
||||
<span class="midgrey">-</span>
|
||||
<span class="midgrey">{{offer.redemptionCount}}</span>
|
||||
</LinkTo>
|
||||
<div class="gh-list-data gh-list-cellwidth-10 gh-tag-list-chevron">
|
||||
<div class="flex items-center justify-end w-100 h-100">
|
||||
|
Loading…
Reference in New Issue
Block a user