<% project = Project.find(activity.org_act_id) %> <% user = User.find(project.user_id)%>
<%= link_to image_tag(url_to_avatar(user), :width => "50", :height => "50"), user_url_in_org(user), :alt => "用户头像" %> <%= render :partial => 'users/show_detail_info', :locals => {:user => user} %>
<% if user.try(:realname) == ' ' %> <%= link_to user, user_url_in_org(user), :class => "newsBlue mr15" %> <% else %> <%= link_to user.try(:realname), user_url_in_org(user), :class => "newsBlue mr15" %> <% end %> TO <%= link_to project.to_s+" | 项目", project_path(project.id,:host=>Setting.host_course), :class => "newsBlue ml15" %>
<%= link_to project.name, project_path(project.id,:host=>Setting.host_course), :class => "postGrey" %>
创建时间:<%= format_time(project.created_on) %>