未登录用户访问个人主页时的头像显示
This commit is contained in:
parent
0b0a23f270
commit
547fb8a1a5
|
@ -110,7 +110,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<% else %>
|
||||
<img src="images/user/male.jpg" width="74" height="74" />
|
||||
<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') %>
|
||||
</a>
|
||||
<% end %>
|
||||
<% if (@user.user_extensions && (@user.user_extensions.identity != 2) ) %>
|
||||
<span class="<%= @user.user_extensions.gender == 1 ? 'user_leftinfo_female' : 'user_leftinfo_male' %> "></span>
|
||||
|
|
Loading…
Reference in New Issue