You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
724 B
16 lines
724 B
<% if @teachers.present? %>
|
|
<% @teachers.each_with_index do |teacher, index| %>
|
|
<tr>
|
|
<td class="pl20 pr20"><%= index + 1 %></td>
|
|
<td class="color-dark"><a href="<%= user_path(teacher['login']) %>" target="_blank" class="task-hide" style="max-width: 84px;"><%= teacher['real_name'] %></a></td>
|
|
<td><%= teacher['course_count'] %></td>
|
|
<td><%= teacher['shixun_work_count'] %></td>
|
|
<td><%= teacher['un_shixun_work_count'] %></td>
|
|
<td><%= teacher['student_count'] %></td>
|
|
<td><%= teacher['complete_rate'] %>%</td>
|
|
<td class="color-blue"><%= teacher['publish_shixun_count'].to_i %></td>
|
|
</tr>
|
|
<% end %>
|
|
<% else %>
|
|
<tr><td colspan="100">暂无数据</td></tr>
|
|
<% end %> |