显示用户的真姓名

This commit is contained in:
lizanle 2015-10-14 12:04:07 +08:00
parent e5808f3fe8
commit d012820a54
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
</div> </div>
<div class="fl ml10"> <div class="fl ml10">
<p class="homepageImageName hidden db mb5"> <p class="homepageImageName hidden db mb5">
<%= @user.login %> <%= @user.realname %>
</p> </p>
<% 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 ? 'homepageImageSexWomen' : 'homepageImageSexMan' %> "></span> <span class="<%= @user.user_extensions.gender == 1 ? 'homepageImageSexWomen' : 'homepageImageSexMan' %> "></span>