<% # 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 . %> <% provide :page_title do %><%= t(:submissions_upload, "%{assignment} Submissions Upload", :assignment => @assignment.title) %>: <%= t(:comments_made, {:one => "1 Comment Made", :other => "%{count} Comments Made"}, :count => @comments.length) %>, <%= t(:files_ignored, {:one => "1 File Ignored", :other => "%{count} Files Ignored"}, :count => @failures.length) %><% end %> <% provide :right_side do %>

<%= t(:done, <<-TEXT) Done! We took the files you uploaded and attached them with a short comment to each user's submission page for this assignment. The students will get a notification that a new comment was added. TEXT %>

<% if !@failures.empty? %>

<%= t(:failures, <<-TEXT) There were some files we didn't know what to do with. They have not been added to anyone's submission page. You can see the list to the left. TEXT %>

<% end %> <%= t('links.back_to_assignment', "Back to Assignment Page") %> <%= t('links.back_to_gradebook', "Back to Gradebook") %> <% end %>

<%= t(:submissions_upload, "%{assignment} Submissions Upload", :assignment => @assignment.title) %>

<%= t('headers.attached_files', "Attached files to the following user submissions") %>

<% unless @failures.empty? %>

<%= t('header.ignored_files', "Ignored the following files") %>

<% end %>