2016-06-13 15:29:15 +08:00
|
|
|
<span>
|
|
|
|
<% if user.user_extensions && user.user_extensions.brief_introduction && !user.user_extensions.brief_introduction.empty? %>
|
|
|
|
<%= user.user_extensions.brief_introduction %>
|
|
|
|
<% else%>
|
2016-08-04 11:05:34 +08:00
|
|
|
这个小伙伴很懒,什么都没留下~
|
2016-06-13 15:29:15 +08:00
|
|
|
<% end %>
|
|
|
|
</span>
|
2015-08-21 16:29:25 +08:00
|
|
|
<% if User.current == user%>
|
2015-08-25 10:30:31 +08:00
|
|
|
<%= link_to image_tag("../images/signature_edit.png",width:"12px", height: "12px"), "javascript:void(0);", :onclick => "show_edit_user_introduction();"%>
|
2016-06-13 15:29:15 +08:00
|
|
|
<% end %>
|