<a href="/#" title="">
  <div class="course-list-img">
    <% iamge_path = get_image_path_from_content(activity.description) %>
    <% if iamge_path.nil? %>
        <%= link_to image_tag("/images/org_new_style/default-img.jpg", :width => "370", :height => "220"), student_work_index_url_in_org(activity.id), :target => "_blank" %>
        <!--<img width="370" height="220" alt="#" src="/images/org_new_style/default-img.jpg">-->
    <% else %>
        <%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "370", :height => "220"), student_work_index_url_in_org(activity.id), :target => "_blank" %>
        <!--<img width="370" height="220" src="/files/uploads/image<%#= iamge_path %>" alt="" />-->
    <% end %>
  </div>
  <h5>
    <span><%= link_to activity.name.to_s, student_work_index_url_in_org(activity.id), :target => '_blank' %></span>
  </h5>
  <div class="item-btm clearfix">
  <%=link_to activity.try(:user).try(:realname).nil? ? activity.try(:user).try(:login) : activity.try(:user).try(:realname), user_path(activity.user), :class=>"publisher-name fl", :target => "_blank" %></a>
    <p class="pass-time fl"><span><%= format_date activity.updated_at %></span></p>
    <div class="fr right-info"> <span> <%= activity.journals_for_messages.count %></span></div>
  </div>
</a>