Skip to content

Commit

Permalink
Separate Student name and Student ID in different columns
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 12, 2024
1 parent 1a335b0 commit 79c4a71
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/views/assessment360/course_student_grade_summary.html.erb
Expand Up @@ -31,7 +31,9 @@
<table class="table table-striped sortable">
<thead>
<tr>
<th rowspan=2 width="320" class="sorter-true">Students</th>
#Place student name and student ID in separate columns
<th rowspan=2 width="160" class="sorter-true">Student Name</th>
<th rowspan=2 width="160" class="sorter-true">Student ID</th>
<% @assignments.each do |assignment| %>
<th colspan=3 class="sorter-false"> <%= assignment.name %> </th>
<% end %>
Expand All @@ -49,7 +51,8 @@

<% @course_participants.each do |cp|%>
<tr>
<td align="center"><%= "#{cp.name(session[:ip])} (#{cp.fullname(session[:ip])})" %> </td>
<td align="center"><%= cp.name(session[:ip]) %> </td>
<td align="center"><%= cp.fullname(session[:ip]) %> </td>
<% @assignments.each do |assignment|%>
<% topic = format_topic(@topics[cp.id][assignment.id]) %>
<td title="<%= topic %>" class="topic topic-tooltip">
Expand Down

0 comments on commit 79c4a71

Please sign in to comment.