mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-02 16:21:01 -04:00
Add projects tab stub to TeacherClassView
This commit is contained in:
parent
61caf3dcd3
commit
c0bc10ffb6
1 changed files with 10 additions and 1 deletions
|
@ -122,6 +122,10 @@ block content
|
|||
li(class=(activeTab === "#enrollment-status-tab" ? 'active' : ''))
|
||||
a.course-progress-tab-btn(href='#enrollment-status-tab')
|
||||
.small-details.text-center(data-i18n='teacher.enrollment_status')
|
||||
.tab-spacer
|
||||
li(class=(activeTab === "#student-projects-tab" ? 'active' : ''))
|
||||
a.course-progress-tab-btn(href='#student-projects-tab')
|
||||
.small-details.text-center(data-i18n='') Projects
|
||||
.tab-filler
|
||||
|
||||
.tab-content
|
||||
|
@ -129,8 +133,10 @@ block content
|
|||
+studentsTab
|
||||
else if activeTab === '#course-progress-tab'
|
||||
+courseProgressTab
|
||||
else
|
||||
else if activeTab === '#enrollment-status-tab'
|
||||
+enrollmentStatusTab
|
||||
else
|
||||
+studentProjectsTab
|
||||
|
||||
else
|
||||
.text-center.m-t-5.m-b-5
|
||||
|
@ -430,3 +436,6 @@ mixin enrollmentStatusTab
|
|||
td.enroll-col
|
||||
if status !== 'enrolled'
|
||||
button.enroll-student-button.btn.btn-navy(data-i18n="teacher.enroll_student", data-user-id=student.id, data-event-action="Teachers Class Enrollment Enroll Student")
|
||||
|
||||
mixin studentProjectsTab
|
||||
p ...
|
||||
|
|
Loading…
Add table
Reference in a new issue