|
|
|
@ -13,13 +13,13 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<% @user_agents.each do |ua| %>
|
|
|
|
|
<% user = User.find_by_login(ua.key) %>
|
|
|
|
|
<% user_extension = user.user_extensions %>
|
|
|
|
|
<% school = user_extension.school %>
|
|
|
|
|
<% user_extension = user&.user_extensions %>
|
|
|
|
|
<% school = user_extension&.school %>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><%= ua.id %></td>
|
|
|
|
|
<td class="edu-txt-left"><span><%= link_to ua.key, user_path(ua.key), :target => "_blank" %></span></td>
|
|
|
|
|
<td><%= link_to user.try(:show_real_name), user_path(user), target:'_blank' %></td>
|
|
|
|
|
<td><%= school.name %></td>
|
|
|
|
|
<td><%= school&.name %></td>
|
|
|
|
|
<td><%= ua.action_status == 2 ? "代理之后注册" : "--" %></td>
|
|
|
|
|
<td><%= ua.register_status == 2 ? "代理之后报名" : "--" %></td>
|
|
|
|
|
<td><%= ua.ip %></td>
|
|
|
|
|