From 8617c996fd5c56a3d328ae9bb13c0de21665a17b Mon Sep 17 00:00:00 2001 From: Chris Rodriguez Date: Fri, 12 Feb 2016 09:32:09 -0500 Subject: [PATCH] Re-removing legacy file; removing test comment --- .../test_lms_cohorted_courseware_search.py | 1 - .../legacy_instructor_dashboard.html | 546 ------------------ 2 files changed, 547 deletions(-) delete mode 100644 lms/templates/courseware/legacy_instructor_dashboard.html diff --git a/common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py b/common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py index 8f10e54c1be5..76560d9d115a 100644 --- a/common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py +++ b/common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py @@ -267,7 +267,6 @@ def test_cohorted_search_user_staff_all_content(self): self._goto_staff_page().set_staff_view_mode('Staff') self.courseware_search_page.search_for_term(self.visible_to_all_html) assert self.visible_to_all_html in self.courseware_search_page.search_results.html[0] - # from nose.tools import set_trace; set_trace() self.courseware_search_page.clear_search() self.courseware_search_page.search_for_term(self.group_a_and_b_html) assert self.group_a_and_b_html in self.courseware_search_page.search_results.html[0] diff --git a/lms/templates/courseware/legacy_instructor_dashboard.html b/lms/templates/courseware/legacy_instructor_dashboard.html deleted file mode 100644 index af6671966497..000000000000 --- a/lms/templates/courseware/legacy_instructor_dashboard.html +++ /dev/null @@ -1,546 +0,0 @@ -## NOTE: This is the template for the LEGACY instructor dashboard ## -## We are no longer supporting this file or accepting changes into it. ## -## Please see lms/templates/instructor for instructor dashboard templates ## - -<%inherit file="../main.html" /> -<%namespace name='static' file='/static_content.html'/> -<%! -from django.utils.translation import ugettext as _ -from django.core.urlresolvers import reverse -%> - -<%block name="pagetitle">${_("Legacy Instructor Dashboard")} -<%block name="nav_skip">#content - -<%block name="headextra"> -<%static:css group='style-course-vendor'/> -<%static:css group='style-vendor-tinymce-content'/> -<%static:css group='style-vendor-tinymce-skin'/> -<%static:css group='style-course'/> - - - - - - - - - - - - <%static:js group='module-descriptor-js'/> -%if instructor_tasks is not None: - -%endif - - -<%include file="/courseware/course_navigation.html" args="active_page='instructor'" /> - - - - - -
-
- -
- - -

${_("Legacy Instructor Dashboard")}

- - %if settings.FEATURES.get('IS_EDX_DOMAIN', False): - ## Only show this banner on the edx.org website (other sites may choose to show this if they wish) -
-

${_("You are using the legacy instructor dashboard, which we will retire in the near future.")} ${_("Return to the Instructor Dashboard")}

-

${_("If the Instructor Dashboard is missing functionality, please contact your PM to let us know.")}

-
- %endif - - - -
- - - -##----------------------------------------------------------------------------- -%if modeflag.get('Grades'): - - %if offline_grade_log: -

- Pre-computed grades ${offline_grade_log} available: Use? - - -

- %endif - - -
-

${_("Grade Downloads")}

- % if disable_buttons: - -
- -
-

- ${_("Note: some of these buttons are known to time out for larger " - "courses. We have disabled those features for courses " - "with more than {max_enrollment} students.").format( - max_enrollment=settings.FEATURES['MAX_ENROLLMENT_INSTR_BUTTONS'] - )} -

-
-
- % endif - -

- -

- -

- - -

- -

- %if not settings.FEATURES.get('ENABLE_ASYNC_ANSWER_DISTRIBUTION'): - - %endif -

- ${_("To download student grades and view the grading configuration for your course, visit the Data Download section of the Instructor Dashboard.")} -

-

- ${_("To view the Gradebook (only available for courses with a small number of enrolled students), visit the Student Admin section of the Instructor Dashboard.")} -

-

-
- - %if settings.FEATURES.get('REMOTE_GRADEBOOK_URL','') and instructor_access: - - <% - rg = course.remote_gradebook - %> - -

${_("Export grades to remote gradebook")}

-

${_("The assignments defined for this course should match the ones stored in the gradebook, for this to work properly!")}

- -
    -
  • ${_("Gradebook name:")} ${rg.get('name','None defined!')} -
    -
    - - -
    -
    -
  • -
  • -
    -
    -
  • -
  • ${_("Assignment name:")} -
    -
    - - - -
  • -
-
- - %endif - %if settings.FEATURES.get('ENABLE_INSTRUCTOR_BACKGROUND_TASKS'): -

${_("Course-specific grade adjustment")}

- -

${_("To perform these actions, visit the Student Admin section of the Instructor Dashboard.")}

- - %endif - -

${_("Student-specific grade inspection and adjustment")}

- -

${_("To perform these actions, visit the Student Admin section of the Instructor Dashboard.")}

- - %endif - -##----------------------------------------------------------------------------- -%if modeflag.get('Psychometrics'): - -

${_("Select a problem and an action:")} -

- -

- -

-

- -

- -

- -%endif - -##----------------------------------------------------------------------------- -%if modeflag.get('Admin'): - - %if instructor_access or admin_access: -

${_("To add or remove course staff or instructors, visit the Membership section of the Instructor Dashboard.")}

- %endif - - %if settings.FEATURES['ENABLE_MANUAL_GIT_RELOAD'] and admin_access: -

- - - %endif -%endif - -##----------------------------------------------------------------------------- -%if modeflag.get('Forum Admin'): -

${_("To manage forum roles, visit the Membership section of the Instructor Dashboard.")}

-%endif - -##----------------------------------------------------------------------------- -%if modeflag.get('Enrollment'): - -
-

${_("Enrollment Data")}

- % if disable_buttons: - -
-
-

- ${_("Note: some of these buttons are known to time out for larger " - "courses. We have disabled those features for courses " - "with more than {max_enrollment} students.").format( - max_enrollment=settings.FEATURES['MAX_ENROLLMENT_INSTR_BUTTONS'] - )} -

-
-
- % endif - -

- ${_("To download a CSV file containing profile information for students who are enrolled in this course, visit the Data Download section of the Instructor Dashboard.")} -

- -

- ${_("To download a list of students who may enroll in this course but have not yet signed up for it, visit the Data Download section of the Instructor Dashboard.")} -

- -
- - %if settings.FEATURES.get('REMOTE_GRADEBOOK_URL','') and instructor_access: - - <% - rg = course.remote_gradebook - %> - -

${_("Pull enrollment from remote gradebook")}

-
    -
  • ${_("Gradebook name:")} ${rg.get('name','None defined!')} -
  • ${_("Section:")}
  • -
- - - - -
- - %endif -%endif - -##----------------------------------------------------------------------------- - -%if modeflag.get('Data'): -
-

- ${_("To download a CSV listing student responses to a given problem, visit the Data Download section of the Instructor Dashboard.")} -

- -

- ${_("To download student profile data and anonymized IDs, visit the Data Download section of the Instructor Dashboard.")} -

-
-%endif - -##----------------------------------------------------------------------------- - -%if modeflag.get('Manage Groups'): - %if instructor_access: - %if course_is_cohorted: -

${_("To manage beta tester roles and cohorts, visit the Membership section of the Instructor Dashboard.")}

- %else: -

${_("To manage beta tester roles, visit the Membership section of the Instructor Dashboard.")}

- %endif - %endif -%endif - -##----------------------------------------------------------------------------- - -%if modeflag.get('Email'): -

${_("To send email, visit the Email section of the Instructor Dashboard.")}

-%endif - -
-##----------------------------------------------------------------------------- - -%if msg: -

${msg}

-%endif - -##----------------------------------------------------------------------------- - -%if datatable and modeflag.get('Psychometrics') is None: - -
-
-

-


-

${datatable['title'] | h}

- - - %for hname in datatable['header']: - - %endfor - - %for row in datatable['data']: - - %for value in row: - - %endfor - - %endfor -
${hname | h}
${value | h}
-

-%endif - -## Output tasks in progress - -%if instructor_tasks is not None and len(instructor_tasks) > 0: -
-

${_("Pending Instructor Tasks")}

-
- - - - - - - - - - - - %for tasknum, instructor_task in enumerate(instructor_tasks): - - - - - - - - - - - %endfor -
${_("Task Type")}${_("Task inputs")}${_("Task Id")}${_("Requester")}${_("Submitted")}${_("Task State")}${_("Duration (sec)")}${_("Task Progress")}
${instructor_task.task_type}${instructor_task.task_input}${instructor_task.task_id}${instructor_task.requester}${instructor_task.created}${instructor_task.task_state}${_("unknown")}${_("unknown")}
-
-
- -%endif - -##----------------------------------------------------------------------------- - -%if modeflag.get('Admin') and course_stats: -
-
-

-


-

${course_stats['title'] | h}

- - - %for hname in course_stats['header']: - - %endfor - - %for row in course_stats['data']: - - %for value in row: - - %endfor - - %endfor -
${hname | h}
${value | h}
-

-%else: -
-
-

${_("Course Statistics At A Glance")}

-

- ${_("View course statistics in the Admin section of this legacy instructor dashboard.")} -

-%endif - -##----------------------------------------------------------------------------- -%if modeflag.get('Psychometrics'): - - %for plot in plots: -
-

${plot['title']}

-
-

${plot['info']}

-
-
- -
-
- %endfor - -%endif - -##----------------------------------------------------------------------------- -## always show msg - - -##----------------------------------------------------------------------------- -%if modeflag.get('Admin'): - % if course_errors is not UNDEFINED: -

${_("Course errors")}

-
- %if not course_errors: - None - %else: -
    - % for (summary, err) in course_errors: -
  • ${summary | h} - % if err: -
    • ${err | h}
    - % else: -

     

    - % endif -
  • - % endfor -
- %endif -
- % endif -%endif - -
-
-