|
|
|
@ -41,6 +41,9 @@
|
|
|
|
|
<%= link_to "/users/#{user.login}", class: 'professional-authentication-avatar', target: '_blank', data: { toggle: 'tooltip', title: '个人主页' } do %>
|
|
|
|
|
<img src="/images/<%= url_to_avatar(user) %>" class="rounded-circle" width="40" height="40" />
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if user.from_sub_site? %>
|
|
|
|
|
<span class="badge badge-pill badge-info">合作</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
<td><%= user.real_name %></td>
|
|
|
|
|
<td><%= raw [user.school_name.presence, user.department_name.presence].compact.join('<br/>') %></td>
|
|
|
|
|