From 726ad525fa88284a4d7e99f6a2e0ed55ced7c6f6 Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Fri, 19 Aug 2016 13:32:17 -0700 Subject: [PATCH] Remove add students from /teacher/classes No longer make sense after add students dialog UI update. --- app/locale/en.coffee | 2 +- app/templates/courses/teacher-classes-view.jade | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/locale/en.coffee b/app/locale/en.coffee index 2e9117ddf..fd231a7a2 100644 --- a/app/locale/en.coffee +++ b/app/locale/en.coffee @@ -1419,7 +1419,7 @@ archive_class: "archive class" unarchive_class: "unarchive class" unarchive_this_class: "Unarchive this class" - no_students_yet: "This class has no students yet." + no_students_yet: "View class to add students." # {change} try_refreshing: "(You may need to refresh the page)" add_students: "Add Students" create_new_class: "Create a New Class" diff --git a/app/templates/courses/teacher-classes-view.jade b/app/templates/courses/teacher-classes-view.jade index c39ad4b32..5e6c7908e 100644 --- a/app/templates/courses/teacher-classes-view.jade +++ b/app/templates/courses/teacher-classes-view.jade @@ -92,10 +92,6 @@ mixin addStudentsButton(classroom) .add-students .text-center div.small-details(data-i18n='teacher.no_students_yet') - | This class has no students yet. - a.add-students-btn.btn.btn-lg.btn-primary(data-classroom-id=classroom.id ) - span(data-i18n='teacher.add_students') - | Add Students mixin createClassButton .create-class