<%= image_tag(url_to_avatar(activity.user), :width => "42", :height => "42") %>
<%= link_to_user_header(activity.user,false,:class => 'problem_name c_orange fl') %>
<%= activity.course_act_type == "Course" ? "创建了课程" : l(:label_new_activity) %>:
<%#= link_to "#{eventToLanguageCourse(e.event_type, @course)} "<< format_activity_title(e.event_title), link,
:class => "problem_tit c_dblue fl fb",'data-type'=>e.event_type,
'data-notify-id'=>(e.respond_to?('get_notify_id') ? e.get_notify_id : ''),:nhname=>"nh_act_link",
'data-href'=>(course_activity_notifys_path(@course)+"/chang_read_flag?an_id="+(e.respond_to?('get_notify_id') ? e.get_notify_id : '').to_s)%>
<%#if @controller_name=='ActivityNotifys' && e.get_notify_is_read!=1%>
<%#end%>
<%= link_to course_activity_link activity%>
<%= course_activity_desc activity%>
<%= activity.course_act_type == "Course" ? l(:label_create_time) : l(:label_activity_time) %> : <%= format_time(activity.created_at) %>
<%= link_to_attachments_course(activity.course_act) if activity.course_act_type.to_s == "News" %>
<% end%>