2014-12-02 23:01:53 -05:00
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
if state === 'purchasing'
|
|
|
|
.alert.alert-info(data-i18n="buy_gems.purchasing")
|
|
|
|
|
|
|
|
else if state === 'retrying'
|
|
|
|
#retrying-alert.alert.alert-danger(data-i18n="buy_gems.retrying")
|
|
|
|
|
|
|
|
else
|
2015-02-04 16:54:35 -05:00
|
|
|
img#subscribe-background(src="/images/pages/play/modal/subscribe-background-blank.png")
|
|
|
|
img.subscribe-image(src="/images/pages/play/modal/subscribe-heroes.png")
|
2015-01-28 19:20:10 -05:00
|
|
|
|
2014-12-02 23:01:53 -05:00
|
|
|
h1(data-i18n="subscribe.subscribe_title") Subscribe
|
|
|
|
|
|
|
|
div#close-modal
|
|
|
|
span.glyphicon.glyphicon-remove
|
|
|
|
|
2015-02-04 16:54:35 -05:00
|
|
|
div.comparison-blurb(data-i18n="subscribe.comparison_blurb")
|
|
|
|
table.table.table-condensed.table-bordered.comparison-table
|
|
|
|
thead
|
|
|
|
tr
|
2015-03-23 18:26:44 -04:00
|
|
|
th
|
|
|
|
if !me.get('chinaVersion')
|
|
|
|
th(data-i18n="subscribe.free")
|
2015-02-04 16:54:35 -05:00
|
|
|
th
|
|
|
|
//- TODO: find a better way to localize '$9.99/month'
|
|
|
|
span $#{price}/
|
|
|
|
span(data-i18n="subscribe.month")
|
|
|
|
tbody
|
|
|
|
tr
|
|
|
|
td.feature-description
|
|
|
|
span(data-i18n="subscribe.feature1")
|
2015-03-23 18:26:44 -04:00
|
|
|
if !me.get('chinaVersion')
|
|
|
|
td.center-ok
|
|
|
|
span.glyphicon.glyphicon-ok
|
2015-02-04 16:54:35 -05:00
|
|
|
td.center-ok
|
|
|
|
span.glyphicon.glyphicon-ok
|
|
|
|
tr
|
|
|
|
td.feature-description
|
|
|
|
span(data-i18n="[html]subscribe.feature2")
|
2015-03-23 18:26:44 -04:00
|
|
|
if !me.get('chinaVersion')
|
|
|
|
td
|
2015-02-04 16:54:35 -05:00
|
|
|
td.center-ok
|
|
|
|
span.glyphicon.glyphicon-ok
|
|
|
|
tr
|
|
|
|
td.feature-description
|
|
|
|
span(data-i18n="subscribe.feature3")
|
2015-03-23 18:26:44 -04:00
|
|
|
if !me.get('chinaVersion')
|
|
|
|
td
|
2015-02-04 16:54:35 -05:00
|
|
|
td.center-ok
|
|
|
|
span.glyphicon.glyphicon-ok
|
|
|
|
tr
|
|
|
|
td.feature-description
|
|
|
|
span(data-i18n="[html]subscribe.feature4")
|
2015-03-23 18:26:44 -04:00
|
|
|
if !me.get('chinaVersion')
|
|
|
|
td
|
2015-02-04 16:54:35 -05:00
|
|
|
td.center-ok
|
|
|
|
span.glyphicon.glyphicon-ok
|
|
|
|
tr
|
|
|
|
td.feature-description
|
|
|
|
span(data-i18n="subscribe.feature5")
|
2015-03-23 18:26:44 -04:00
|
|
|
if !me.get('chinaVersion')
|
|
|
|
td
|
2015-02-04 16:54:35 -05:00
|
|
|
td.center-ok
|
|
|
|
span.glyphicon.glyphicon-ok
|
|
|
|
tr
|
|
|
|
td.feature-description
|
|
|
|
span(data-i18n="subscribe.feature6")
|
2015-03-23 18:26:44 -04:00
|
|
|
if !me.get('chinaVersion')
|
|
|
|
td
|
2015-02-04 16:54:35 -05:00
|
|
|
td.center-ok
|
|
|
|
span.glyphicon.glyphicon-ok
|
|
|
|
#parents-info(data-i18n="subscribe.parents")
|
2015-04-07 18:54:55 -04:00
|
|
|
#payment-methods-info(data-i18n="subscribe.payment_methods")
|
2014-12-02 23:01:53 -05:00
|
|
|
|
2015-02-05 13:44:07 -05:00
|
|
|
button.btn.btn-lg.btn-illustrated.purchase-button(data-i18n="subscribe.subscribe_title")
|
2015-02-04 16:54:35 -05:00
|
|
|
button.btn.btn-lg.btn-illustrated.parent-button(data-i18n="subscribe.parent_button")
|
|
|
|
|
2014-12-02 23:01:53 -05:00
|
|
|
if state === 'declined'
|
|
|
|
#declined-alert.alert.alert-danger.alert-dismissible
|
|
|
|
span(data-i18n="buy_gems.declined")
|
|
|
|
button.close(type="button" data-dismiss="alert")
|
|
|
|
span(aria-hidden="true") ×
|
|
|
|
|
|
|
|
if state === 'unknown_error'
|
|
|
|
#error-alert.alert.alert-danger.alert-dismissible
|
|
|
|
button.close(type="button" data-dismiss="alert")
|
|
|
|
span(aria-hidden="true") ×
|
|
|
|
p(data-i18n="loading_error.unknown")
|
|
|
|
p= stateMessage
|
2015-04-10 16:46:53 -04:00
|
|
|
|
|
|
|
.parent-button-popover-content.hidden
|
|
|
|
.email-parent-form
|
|
|
|
p(data-i18n="subscribe.parent_email_description")
|
|
|
|
form
|
|
|
|
.form-group
|
|
|
|
label(data-i18n="subscribe.parent_email_input_label")
|
|
|
|
input.parent-input.form-control(type='email', data-i18n="[placeholder]subscribe.parent_email_input_placeholder")
|
|
|
|
.parent-email-validator.email_invalid(data-i18n="subscribe.parent_email_input_invalid")
|
|
|
|
button.parent-send.btn.btn-default(type='submit', data-i18n="subscribe.parent_email_send")
|
|
|
|
.email-parent-complete
|
|
|
|
p(data-i18n="subscribe.parent_email_sent")
|
|
|
|
button.btn(type='button', onclick="$('.parent-button').popover('hide');", data-i18n="modal.close")
|