%
# 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
<%= @is_course ? t(:details_this_course, "Last Faculty Journal entries for students currently enrolled in this course.") : t(:details_a_course, "Last Faculty Journal entries for students currently enrolled in a course.") %>
<%= will_paginate(@users, :style=>"margin-bottom: 1em;") %> <% css_bundle("syllabus") %><%= t 'headers.student', "Student" %> | <%= t 'headers.last_entry', "Last Faculty Journal Entry" %> | <%= t 'headers.current_courses', "Current Courses" %> |
---|---|---|
<%= user.last_name_first %> | <%= datetime_string(user.try_rescue(:last_user_note)) || t("Never") %> | <% user.courses.each_with_index do |course, i| %><%= ", " if i > 0 %><%= course.short_name %><% end %> |