Add projects tab stub to TeacherClassView

This commit is contained in:
Scott Erickson 2016-07-14 15:53:54 -07:00
parent 61caf3dcd3
commit c0bc10ffb6

View file

@ -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 ...