• <% if @empty_query or multiple_search? or !profile.enterprise? %> <%= profile_image_link profile, :portrait, 'div', @filter == 'more_recent' ? profile.send(@filter + '_label') + show_date(profile.created_at) : profile.send(@filter + '_label') %> <% else %>
    <%= profile_image_link profile, :portrait, 'div' %>
    <%= link_to_homepage(profile.name, profile.identifier, :class => "search-result-title") %>
    <% if profile.description %> <% body_stripped = strip_tags(profile.description) %> <% elsif profile.home_page and profile.home_page.body %> <% body_stripped = strip_tags(profile.home_page.body) %> <% end %> <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %>
    <%= _("City") %> <% if profile.region %> <%= city_with_state(profile.region) %> <% end %>
    <% profile.top_level_categorization.each do |parent, children| %>
    <%= parent.name %> <%= children.collect(&:name).join(', ') %>
    <% end %>

    <% end %>