mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-29 15:35:15 -04:00
Added i18n to teachers-free-trial.jade
This commit is contained in:
parent
10937bfaf8
commit
df9a115eb0
1 changed files with 32 additions and 32 deletions
|
@ -2,51 +2,51 @@ extends /templates/base
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
|
||||||
h2 Teacher Survey
|
h2(data-i18n="teachers_survey.title") Teacher Survey
|
||||||
|
|
||||||
if me.isAnonymous()
|
if me.isAnonymous()
|
||||||
p You must be logged in to apply. Please create an account or log in from the menu above.
|
p(data-i18n="teachers_survey.must_be_logged") You must be logged in to apply. Please create an account or log in from the menu above.
|
||||||
else if fetchingData
|
else if fetchingData
|
||||||
h4 Retrieving information...
|
h4(data-i18n="teachers_survey.retrieving") Retrieving information...
|
||||||
else if existingRequests.length > 0
|
else if existingRequests.length > 0
|
||||||
if existingRequests[0].get('status') === 'submitted'
|
if existingRequests[0].get('status') === 'submitted'
|
||||||
p
|
p
|
||||||
span.spr Your application for a free trial subscription is being
|
span.spr(data-i18n="teachers_survey.being_reviewed_1") Your application for a free trial subscription is being
|
||||||
strong reviewed
|
strong(data-i18n="teachers_survey.being_reviewed_2") reviewed
|
||||||
else if existingRequests[0].get('status') === 'approved'
|
else if existingRequests[0].get('status') === 'approved'
|
||||||
p
|
p
|
||||||
span.spr Your application for a free trial subscription was
|
span.spr(data-i18n="teachers_survey.approved_1") Your application for a free trial subscription was
|
||||||
strong.spr approved
|
strong.spr(data-i18n="teachers_survey.approved_2") approved.
|
||||||
span.spr . Further instructions have been sent to
|
span.spr(data-i18n="teachers_survey.approved_3") Further instructions have been sent to
|
||||||
strong= existingRequests[0].get('properties').email
|
strong= existingRequests[0].get('properties').email
|
||||||
else
|
else
|
||||||
p
|
p
|
||||||
span.spr Your application for a free trial subscription has been
|
span.spr(data-i18n="teachers_survey.denied_1") Your application for a free trial subscription has been
|
||||||
strong.spr denied
|
strong(data-i18n="teachers_survey.denied_2") denied
|
||||||
p
|
p
|
||||||
span.spr Please contact
|
span.spr(data-i18n="teachers_survey.contact_1") Please contact
|
||||||
span.spr
|
a(href='mailto:team@codecombat.com') team@codecombat.com
|
||||||
a(href='mailto:team@codecombat.com') team@codecombat.com
|
span.spl(data-i18n="teachers_survey.contact_2") if you have further questions.
|
||||||
span if you have further questions.
|
|
||||||
else
|
else
|
||||||
p
|
p
|
||||||
span.spr We offer free subscriptions to teachers for evaluation purposes. You can find more information on our
|
span.spr(data-i18n="teachers_survey.description_1") We offer free subscriptions to teachers for evaluation purposes. You can find more information on our
|
||||||
a.spr(href='/teachers') teachers
|
a(href='/teachers', data-i18n="teachers_survey.description_2") teachers
|
||||||
span page.
|
span.spl(data-i18n="teachers_survey.description_3") page.
|
||||||
p Please fill out this quick survey and we’ll email you setup instructions.
|
p(data-i18n="teachers_survey.description_4") Please fill out this quick survey and we’ll email you setup instructions.
|
||||||
p.container-email-address
|
p.container-email-address
|
||||||
label.control-label Email Address
|
label.control-label(data-i18n="teachers_survey.email") Email Address
|
||||||
br
|
br
|
||||||
input.control-label.input-email-address(type='text', value=email)
|
input.control-label.input-email-address(type='text', value=email)
|
||||||
p.container-location
|
p.container-location
|
||||||
label.control-label Name of School, City
|
label.control-label(data-i18n="teachers_survey.school_city") Name of School, City
|
||||||
br
|
br
|
||||||
input.control-label.input-location(type='text')
|
input.control-label.input-location(type='text')
|
||||||
p.container-age
|
p.container-age
|
||||||
label.control-label How old are your students?
|
label.control-label(data-i18n="teachers_survey.age_students") How old are your students?
|
||||||
div
|
div
|
||||||
input(type="radio", name="age", value="Under 14")
|
input(type="radio", name="age", value="Under 14")
|
||||||
span.spl Under 14
|
span.spl(data-i18n="teachers_survey.under") Under
|
||||||
|
span.spl 14
|
||||||
div
|
div
|
||||||
input(type="radio", name="age", value="14-17")
|
input(type="radio", name="age", value="14-17")
|
||||||
span.spl 14-17
|
span.spl 14-17
|
||||||
|
@ -55,17 +55,17 @@ block content
|
||||||
span.spl 18+
|
span.spl 18+
|
||||||
div
|
div
|
||||||
input(type="radio", name="age", value='other')
|
input(type="radio", name="age", value='other')
|
||||||
span.spl.spr Other:
|
span.spl.spr(data-i18n="teachers_survey.other") Other:
|
||||||
input.spr.input-age-other(type='text')
|
input.spr.input-age-other(type='text')
|
||||||
p.container-num-students
|
p.container-num-students
|
||||||
label.control-label How many students do you teach?
|
label.control-label(data-i18n="teachers_survey.amount_students") How many students do you teach?
|
||||||
br
|
br
|
||||||
input.control-label.input-num-students(type='text')
|
input.control-label.input-num-students(type='text')
|
||||||
p.container-heard-about
|
p.container-heard-about
|
||||||
label.control-label How did you hear about CodeCombat?
|
label.control-label(data-i18n="teachers_survey.hear_about") How did you hear about CodeCombat?
|
||||||
br
|
br
|
||||||
textarea.control-label.input-heard-about(rows=4)
|
textarea.control-label.input-heard-about(rows=4)
|
||||||
p.error-message Please fill out all fields.
|
p.error-message(data-i18n="teachers_survey.fill_fields") Please fill out all fields.
|
||||||
p
|
p
|
||||||
button.btn.btn-default.submit-button Submit
|
button.btn.btn-default.submit-button(data-i18n="play_level.tome_submit_button") Submit
|
||||||
p.thanks-submit Thanks! We'll send you setup instructions shortly.
|
p.thanks-submit(data-i18n="teachers_survey.thanks") Thanks! We'll send you setup instructions shortly.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue