mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
🐛Request demo Ux bugs
Only ask about login if not logged in Add missing set up a class i18n string
This commit is contained in:
parent
84cdf1e2ce
commit
acba838db4
2 changed files with 9 additions and 6 deletions
|
@ -747,6 +747,7 @@
|
|||
thanks_p: "We'll be in touch soon. Questions? Email us:"
|
||||
thanks_anon: "Log in or create an account to set up a class, add your students, and monitor their progress as they learn computer science." # {change}
|
||||
thanks_logged_in: "Set up a class, add your students, and monitor their progress as they learn computer science." # {change}
|
||||
setup_a_class: "Set Up a Class"
|
||||
|
||||
versions:
|
||||
save_version_title: "Save New Version"
|
||||
|
|
|
@ -186,9 +186,10 @@ block content
|
|||
h4(data-i18n="new_home.request_demo_subtitle")
|
||||
div
|
||||
a.btn.btn-primary.btn-lg(href="/teachers/demo", data-i18n="new_home.request_demo")
|
||||
.have-an-account
|
||||
span.spr(data-i18n="new_home.have_an_account")
|
||||
a.login-button Login
|
||||
if me.isAnonymous()
|
||||
.have-an-account
|
||||
span.spr(data-i18n="new_home.have_an_account")
|
||||
a.login-button Login
|
||||
|
||||
h3.text-center(data-i18n="new_home.computer_science")
|
||||
h4.text-center
|
||||
|
@ -277,9 +278,10 @@ block content
|
|||
else
|
||||
div
|
||||
a.btn.btn-primary.btn-lg(href="/teachers/demo", data-i18n="new_home.request_demo")
|
||||
.have-an-account
|
||||
span.spr(data-i18n="new_home.have_an_account")
|
||||
a.login-button Login
|
||||
if me.isAnonymous()
|
||||
.have-an-account
|
||||
span.spr(data-i18n="new_home.have_an_account")
|
||||
a.login-button Login
|
||||
|
||||
|
||||
#screenshot-lightbox.modal.fade(data-show="false")
|
||||
|
|
Loading…
Reference in a new issue