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

8 lines
452 B
Plaintext
Raw Normal View History

2015-08-21 16:29:25 +08:00
<% if user.user_extensions && user.user_extensions.brief_introduction && !user.user_extensions.brief_introduction.empty? %>
<%= user.user_extensions.brief_introduction %>&nbsp;
<% else%>
这位童鞋很懒,什么也没有留下~&nbsp;
<% end %>
<% if User.current == user%>
<%= link_to image_tag("../images/signature_edit.png",width:"12px", height: "12px"), "javascript:void(0);", :onclick => "show_edit_user_introduction();"%>
2015-08-21 16:29:25 +08:00
<% end%>