canvas-lms/app/views/shared
Simon Williams 874b5489c1 student view; closes #6995
allows course admins to view the course from a student perspective. this is
accessible from a button on the course/settings page. They should be able to
interact with the course as a student would, including submitting homework and
quizzes. Right now there is one student view student per course, so if the
course has multiple administrators, they will all share the same student view
student.

There are a few things that won't work in student view the way the
would for a normal student, most notably access to conversations is disabled.
Additionally, any publicly visible action that the teacher takes while in
student view will still be publicly visible -- for example if the teacher posts
a discussion topic/reply as the student view student, it will be visible to the
whole class.

test-plan:
- (the following should be tried both as a full teacher and as
  a section-limited course admin)
- set up a few assignments, quizzes, discussions, and module progressions in
  a course.
- enter student view from the coures settings page.
- work through the things you set up above.
- leave student view from the upper right corner of the page.
- as a teacher you should be able to grade the fake student so that they can
  continue to progress.
- the student should not show up in the course users list
- the student should not show up at the account level at all:
  * total user list
  * statistics

Change-Id: I886a4663777f3ef2bdae594349ff6da6981e14ed
Reviewed-on: https://gerrit.instructure.com/9484
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
2012-04-03 14:11:07 -06:00
..
errors AMD Conversion 2012-02-06 16:41:40 -07:00
_account_options.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_accounts_right_side_shared.html.erb remove search field duplication fixes #5133 2012-02-29 10:02:08 -07:00
_accounts_secondary_content.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_add_assignment.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_add_assignment_group.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_aligned_outcomes.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_assignment.html.erb don't show assignment's course name if you are there 2012-01-13 14:08:13 -07:00
_assignment_group.html.erb use zoned time calculations in cache keys, fixes #5461 2011-08-31 10:34:09 -06:00
_assignment_rubric_dialog.html.erb allow multiple rubric associations for grading; fixes #7091 2012-03-01 14:35:28 -07:00
_blank.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_conference.html.erb wimba advanced settings link, closes #5291 2011-08-25 15:11:52 -06:00
_context_module_legend.html.erb fixed up a few i18n keys 2011-07-06 18:50:37 -06:00
_current_enrollment.html.erb show invitations as a sticky on the dashboard closes #7162 2012-02-22 10:28:27 -07:00
_custom_search_results.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_discussion_entry.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_enrollment.html.erb link observer immediately after adding; fixes #7528 2012-03-02 13:03:53 -07:00
_event_list.html.erb misc view i18n 2011-07-07 10:37:38 -06:00
_find_outcome.html.erb i18n f* shared partials 2011-07-01 14:56:16 -06:00
_flash_notices.html.erb next step of scary warning for users logging in at wrong domain 2012-03-30 15:06:06 -06:00
_footer_links.html.erb More simple footer links 2011-02-03 10:24:15 -07:00
_full_assignment.html.erb fix string typo in full assignment view fixes #5644 2012-03-06 13:31:00 -07:00
_global_dialogs.html.erb i18n various and sundry shared views 2011-07-01 15:20:38 -06:00
_grading_standard.html.erb allow setting account grading scheme on course; fixes #5690 2012-02-27 10:13:26 -07:00
_home_menu.html.erb added favorite courses option to main menu 2011-10-24 15:50:34 -06:00
_identity.html.erb student view; closes #6995 2012-04-03 14:11:07 -06:00
_inline_preview.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_invitation.html.erb show invitations as a sticky on the dashboard closes #7162 2012-02-22 10:28:27 -07:00
_javascript_init.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_keyboard_navigation_hint.html.erb i18n [ijk].* shared partials 2011-07-01 15:10:35 -06:00
_login.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_login_trailer.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_menu_account.html.erb don't use presence/absence of root_account(_id) to determine if an account is a root account 2012-01-03 11:47:22 -07:00
_menu_assignment.html.erb add option to sort users in speedgrader by submission. fixes #932 2011-10-17 16:10:18 -06:00
_menu_course.html.erb added favorite courses option to main menu 2011-10-24 15:50:34 -06:00
_menu_courses.html.erb fix Customize and View all courses links, closes #6394 2011-12-05 12:49:27 -07:00
_menu_group_membership.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_menu_section.html.erb show invitations for temporary users to users that have the same e-mail 2011-11-18 13:38:19 -07:00
_message_students.html.erb get some of the grade book column header menus working 2011-10-10 18:18:44 -06:00
_mute_dialog.html.erb add "mute" function to assignments. fixes #5101 2011-09-30 17:28:25 -06:00
_pending_enrollment.html.erb s/TAEnrollment/TaEnrollment , fixes #5248 2011-08-09 10:26:30 -06:00
_recent_messages.html.erb fix account announcements across shards fixes #7396 2012-03-13 09:14:26 -06:00
_report_error.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_right_side.html.erb i18n various and sundry shared views 2011-07-01 15:20:38 -06:00
_rubric.html.erb allow multiple rubric associations for grading; fixes #7091 2012-03-01 14:35:28 -07:00
_rubric_criterion.html.erb Show freeform rubric comments to students, fixes #4864 2012-02-27 16:40:46 -07:00
_rubric_criterion_dialog.html.erb i18n rubric partials 2011-07-01 16:27:18 -06:00
_rubric_dialog.html.erb i18n rubric partials 2011-07-01 16:27:18 -06:00
_rubric_forms.html.erb fix display of rubric criteria points 2011-07-12 09:48:23 -06:00
_rubric_summary.html.erb fix displaying rubric totals 2011-07-11 13:19:38 -06:00
_rubric_summary_criterion.html.erb allow ignoring learning outcomes for grading; fixes #5271 2012-02-01 13:54:07 -07:00
_select_content_dialog.html.erb allow setting assignment group on quiz from add module item dialog 2012-02-29 16:16:00 -07:00
_sequence_footer.html.erb shared views _s* i18n 2011-07-06 10:00:29 -06:00
_sub_account_options.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_submission_comment.html.erb shared views _s* i18n 2011-07-06 10:00:29 -06:00
_topic.html.erb return discussion_type in topics api response 2012-03-28 14:13:09 -06:00
_topics.html.erb new discussions UI 2012-03-26 16:53:46 -06:00
_turnitin_settings.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_user_lists.html.erb introduce preferred user list search mode 2012-02-28 09:10:23 -07:00
_wiki_image.html.erb re-work wiki sidebar fixes #3975 2011-07-25 14:55:10 -06:00
_wiki_sidebar.html.erb external tool resource selector in WYSIWYG editor 2011-11-22 16:12:12 -07:00
_zip_file_import_form.html.erb make zip file processing asynchronous 2012-02-29 14:04:53 -07:00
exit_frame.html.erb i18n shared partials 2011-07-05 14:45:07 -06:00
unauthorized.html.erb change Feedback to Help fixes #6262 2011-11-09 13:32:08 -07:00
unauthorized_feed.html.erb i18n shared partials 2011-07-05 14:45:07 -06:00