<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"), news_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"), news_url_in_org(activity.id), :target => "_blank" %>
    <% end %>
  </div>
  <h5>
    <span><%= link_to activity.title.to_s, news_url_in_org(activity.id), :target => '_blank' %></span>
  </h5>
  <div class="item-btm clearfix">
  <%=link_to activity.try(:author).try(:realname).nil? ? activity.try(:author).try(:login) : activity.try(:author).try(:realname), user_path(activity.author), :class=>"publisher-name fl", :target => "_blank" %></a>
    <p class="pass-time fl"><span><%= format_date activity.created_on %></span></p>
    <div class="fr right-info"> <span> <%= activity.comments.count %></span></div>
  </div>
</a>