%
# Copyright (C) 2012 - 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 .
%>
<% if @fixed_warnings.present? %>
<% @fixed_warnings.each_with_index do |warning, index| %>
">
><%= warning[:title] %>
<%= warning[:message] %>
<% end %>
<% end %>
<% if @current_user && @real_current_user && @real_current_user != @current_user %>
<% if @current_user.fake_student? %>
<%= t('student_view.warning_title', "You are currently logged into Student View") %>
<%= t('student_view.reset_explanation', "Resetting the test student will clear all history for this student, allowing you to view the course as a brand new student.") %>