daiao 5 years ago
parent c56904381f
commit 9684a5fdc7

@ -43,7 +43,7 @@
<%= link_to "/users/#{user.login}", class: 'identity-authentication-avatar', target: '_blank', data: { toggle: 'tooltip', title: '个人主页' } do %> <%= link_to "/users/#{user.login}", class: 'identity-authentication-avatar', target: '_blank', data: { toggle: 'tooltip', title: '个人主页' } do %>
<img src="/images/<%= url_to_avatar(user) %>" class="rounded-circle" width="40" height="40" /> <img src="/images/<%= url_to_avatar(user) %>" class="rounded-circle" width="40" height="40" />
<% end %> <% end %>
<% if user.from_sub_site? %> <% if user&.from_sub_site? %>
<span class="badge badge-pill badge-info">合作</span> <span class="badge badge-pill badge-info">合作</span>
<% end %> <% end %>
</td> </td>

Loading…
Cancel
Save