mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05: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
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ export default Model.extend(ValidationEngine, {
|
||||||
status: attr('string', {defaultValue: 'active'}),
|
status: attr('string', {defaultValue: 'active'}),
|
||||||
tier: attr(),
|
tier: attr(),
|
||||||
stripeCouponId: attr('string'),
|
stripeCouponId: attr('string'),
|
||||||
|
redemptionCount: attr('number'),
|
||||||
currency: attr('string'),
|
currency: attr('string'),
|
||||||
type: attr('string', {defaultValue: 'percent'}),
|
type: attr('string', {defaultValue: 'percent'}),
|
||||||
amount: attr('number'),
|
amount: attr('number'),
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
</span>
|
</span>
|
||||||
</LinkTo>
|
</LinkTo>
|
||||||
<LinkTo @route="offer" @model={{offer}} class="gh-list-data">
|
<LinkTo @route="offer" @model={{offer}} class="gh-list-data">
|
||||||
<span class="midgrey">-</span>
|
<span class="midgrey">{{offer.redemptionCount}}</span>
|
||||||
</LinkTo>
|
</LinkTo>
|
||||||
<div class="gh-list-data gh-list-cellwidth-10 gh-tag-list-chevron">
|
<div class="gh-list-data gh-list-cellwidth-10 gh-tag-list-chevron">
|
||||||
<div class="flex items-center justify-end w-100 h-100">
|
<div class="flex items-center justify-end w-100 h-100">
|
||||||
|
|
Loading…
Add table
Reference in a new issue