|
|
@ -17,10 +17,10 @@
|
|
|
|
<% if @courses.present? %>
|
|
|
|
<% if @courses.present? %>
|
|
|
|
<% @courses.each do |course| %>
|
|
|
|
<% @courses.each do |course| %>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="text-left"><a href="/courses/<%= course.id %>/students" target="_blank" class="task-hide pl20 edu-txt-left" style="max-width: 220px"><%= course.name %></a></td>
|
|
|
|
<td class="text-left"><a href="/courses/<%= course.id %>/students" target="_blank" class="d-inline-block text-truncate" style="max-width: 220px"><%= course.name %></a></td>
|
|
|
|
<% teacher_names = course.teacher_users.map(&:real_name).join('、') %>
|
|
|
|
<% teacher_names = course.teacher_users.map(&:real_name).join('、') %>
|
|
|
|
<td class="text-left">
|
|
|
|
<td class="text-left">
|
|
|
|
<span class="d-inline-block text-truncate" style="max-width: 220px" data-toggle="tooltip" title="<%= teacher_names %>">
|
|
|
|
<span class="d-inline-block text-truncate" style="max-width: 150px" data-toggle="tooltip" title="<%= teacher_names %>">
|
|
|
|
<%= teacher_names || '--' %>
|
|
|
|
<%= teacher_names || '--' %>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|