mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-17 19:12:33 -05:00
3d705e5d70
Fix link to /teachers/classes (fixes bugquest#20) Fix edit button color/icon (bugquest#23) Fix bugquest#34 Fix password input width (bugquest#33) Center new pasword text Fix teacher password reset endpoint (bugquest#4) Refactor+use NewHomeView logic for user page button (Fixes bugquest#2) Refactor teacher-password-reset endpoint This makes it much easier to prevent collisions with other logic when PUTing new User attributes. Add regression test for converting to teacher account Fix email verified links, require login (fix bugquest#16) Fix me having stale emailVerified value (Fixes bugquest#40) Don't show JoinClassModal to students Add paragraph to JoinClassModal (fixes bugquest#14) Update change-password label text (fixes bugquest#30) Fix prompting for login on Account Settings page (bugquest #10) Show validation errors for teacher password reset (bugquest#36) Show yellow progress dot in My Classes if anyone has started (bugquest#55) Remove confusing text (bugquest#100)
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
extends /templates/core/modal-base-flat
|
|
|
|
block modal-header-content
|
|
if view.classroom.loaded
|
|
.text-center
|
|
h3.modal-title
|
|
span(data-i18n="courses.join")
|
|
span.spr
|
|
span= view.classroom.get('name')
|
|
b.small-details
|
|
span.spr(data-i18n="courses.instructor")
|
|
span= view.classroom.owner.get('name')
|
|
|
|
block modal-body-content
|
|
if view.classroom.loaded
|
|
p
|
|
span.spr(data-i18n="courses.youve_been_invited_1")
|
|
span= view.classroom.get('name')
|
|
span.spr(data-i18n="courses.youve_been_invited_2")
|
|
span= view.classroom.capitalLanguage
|
|
span.spl(data-i18n="courses.youve_been_invited_3")
|
|
p
|
|
span.spr(data-i18n="courses.by_joining_1")
|
|
span= view.classroom.get('name')
|
|
span.spr ,
|
|
span= view.classroom.owner.get('name')
|
|
span.spr
|
|
span(data-i18n="courses.by_joining_2")
|
|
|
|
unless me.get('emailVerified')
|
|
div.text-center.m-t-4
|
|
div
|
|
b.small-details
|
|
span(data-i18n="courses.sent_verification")
|
|
.small= me.get('email')
|
|
.small
|
|
span.spr(data-i18n="courses.you_can_edit")
|
|
a(href="/account/settings")
|
|
span(data-i18n="courses.account_settings")
|
|
|
|
block modal-footer-content
|
|
.text-center
|
|
button.join-class-btn.btn.btn-lg.btn-navy(data-i18n="courses.join_class_2")
|
|
button.btn.btn-lg(data-dismiss="modal", data-i18n="common.cancel")
|