<% # Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see . %> <% js_bundle :speed_grader css_bundle :speed_grader js_env({ :RUBRIC_ASSESSMENT => { :assessor_id => @current_user.id.to_s, :assessment_type => can_do(@assignment, @current_user, :grade) ? "grading" : "peer_review" } }) @show_left_side = false @show_embedded_chat = false add_body_class 'ic-no-flex-layout full-width' @can_edit_anything = !@context.completed? %> <% provide :page_title, t(:page_title, "%{assignment_name}, SpeedGrader, %{course_name}", :assignment_name => @assignment.title, :course_name => @context.name) %>

<%= t(:loading, "loading...") %>

<%= t('page_header_title', "SpeedGrader") %>

<%= form_tag({ :controller => :gradebooks, :course_id => @context.id, :action => :update_submission }) do %>
<% if @assignment.anonymize_students? %> <% else %> <% end %>
<% unless @current_user.try(:prefers_no_keyboard_shortcuts?) %> <% keyboard_navigation([ {:key => t('keycodes.next_student', 'j'), :description => t('keycode_descriptions.next_student', 'Next Student')}, {:key => t('keycodes.previous_student', 'k'), :description => t('keycode_descriptions.previous_student', 'Previous Student')}, {:key => t('keycodes.leave_comment', 'c'), :description => t('keycode_descriptions.leave_comment', 'Leave Comment')}, {:key => t('keycodes.change_grade', 'g'), :description => t('keycode_descriptions.change_grade', 'Change Grade')}, {:key => t('keycodes.use_rubric', 'r'), :description => t('keycode_descriptions.use_rubric', 'Use Rubric')} ]) %> <% end %>