mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
19 lines
639 B
Text
19 lines
639 B
Text
extends /templates/core/modal-base
|
|
|
|
block modal-header-content
|
|
h3 Prepaid Code Details (#{ppc.get('code')})
|
|
|
|
block modal-body-content
|
|
if redeemedOn
|
|
p You redeemed this code: #{redeemedOn}
|
|
else
|
|
if ppc.openSpots()
|
|
p: strong Adds #{ppc.get('properties').months} month(s) to your current subscription.
|
|
p You can redeem this code.
|
|
else
|
|
p You cannot redeem this code.
|
|
|
|
block modal-footer-content
|
|
button#close.btn.btn-primary(type="button", data-dismiss="modal") Cancel
|
|
if !redeemedOn && ppc.openSpots() > 0
|
|
button#redeem.btn.btn-primary(type="button", data-dismiss="modal") Redeem Code To My Account
|