头像调整

This commit is contained in:
cxt 2016-08-29 15:38:58 +08:00
parent 3c5afb2b4f
commit 15ba4a6136
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@
<% else %> <% else %>
<a href="javascript:void(0)" class="user_leftinfo_img" style="cursor: default"> <a href="javascript:void(0)" class="user_leftinfo_img" style="cursor: default">
<%=image_tag(url_to_avatar(@user),width:"74", height: "74", :id=>'nh_source_tx') %> <%=image_tag(url_to_avatar(@user),width:"74", height: "74", :id=>'nh_source_tx') %>
</a> <% end %> </a>
<% end %>
<% if (@user.user_extensions && (@user.user_extensions.identity != 2) ) %> <% if (@user.user_extensions && (@user.user_extensions.identity != 2) ) %>
<span class="<%= @user.user_extensions.gender == 1 ? 'user_leftinfo_female' : 'user_leftinfo_male' %> "></span> <span class="<%= @user.user_extensions.gender == 1 ? 'user_leftinfo_female' : 'user_leftinfo_male' %> "></span>
<% end %> <% end %>