<% software = community.software_info %>
  • <%= profile_image_link community, :portrait, 'div', community.send(@order + '_label') + show_date(community.created_at) %>
    <% link_name = software.acronym.blank? ? community.name : "#{software.acronym} - #{community.name}" %>

    <%= link_to_homepage(link_name, community.identifier) %>

    <% body_stripped = strip_tags(software.finality) %> <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %>

    <%= _("Software Categories") %>: <% if !community.categories.empty? %>
      <% community.categories.each do |category| %>
    • <%= link_to _("#{category.name}"), { :controller => :search, :action => :software_infos, :selected_categories_id => [category.id], :software_type => params[:software_type] } %>
    • <% end %>
    <% else %> <%= _("This software doesn't have categories") %> <% end %>