diff --git a/app/views/colleges/_course_statistics.html.erb b/app/views/colleges/_course_statistics.html.erb index aa3911c02..e10739fb2 100644 --- a/app/views/colleges/_course_statistics.html.erb +++ b/app/views/colleges/_course_statistics.html.erb @@ -17,10 +17,10 @@ <% if @courses.present? %> <% @courses.each do |course| %> <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('、') %> <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 || '--' %> </span> </td> diff --git a/app/views/colleges/statistics.html.erb b/app/views/colleges/statistics.html.erb index 7c0914910..9f2e8ff7b 100644 --- a/app/views/colleges/statistics.html.erb +++ b/app/views/colleges/statistics.html.erb @@ -104,8 +104,8 @@ <th>排名</th> <th>姓名</th> <th>管理课堂</th> - <th>已发布实训作业</th> - <th>未发布实训作业</th> + <th width="15%">已发布实训作业</th> + <th width="15%">未发布实训作业</th> <th>学生数</th> <th>完成率</th> <th>发布实训</th>