socialforge/app/views/layouts/_user_brief_introduction.ht...

11 lines
475 B
Plaintext
Raw Normal View History

<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
这个小伙伴很懒,什么都没留下~
<% end %>
</span>
2015-08-21 16:29:25 +08:00
<% if User.current == user%>
<%= link_to image_tag("../images/signature_edit.png",width:"12px", height: "12px"), "javascript:void(0);", :onclick => "show_edit_user_introduction();"%>
<% end %>