<% # 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 . %> <% add_crumb(t('#crumbs.people', "People"), context_url(@context, :context_users_url)) add_crumb(t('#crumbs.prior_users', "Prior Users")) set_active_tab "people" %> <% provide :page_title, t('titles.prior_users', "Prior Users") %> <% provide :right_side do %> <%= t('links.back_to_people', %{Back to People}) %> <% end %> <% css_bundle :prior_users %>

<%= t('headings.prior_users', %{Prior Users}) %>

<% @prior_users.each do |user| %> <% end %>
<%= t('#table_headings.name', %{Name}) %> <%= t('#table_headings.type', %{Type}) %> <%= t('#table_headings.total', %{Total}) %>
<%= link_to(user.last_name_first, context_url(@context, :context_user_url, user.id)) %> <%= user.prior_enrollment.readable_type %> <%= link_to(user.prior_enrollment.computed_final_score || '--', context_url(@context, :context_student_grades_url, user.id)) if user.prior_enrollment.student? %>
<%= will_paginate(@prior_users) %>