Noosfero/noosfero

View on GitHub
app/views/search/_compact_profile.html.erb

Summary

Maintainability
Test Coverage
<% filter_label = profile.send(@order + '_label') %>
<% filter_label += show_date(profile.created_at, false, true, false, true) if @order == 'more_recent' %>
<li class="search-profile-item">
  <%= profile_image_link profile, theme_option(:profile_list_imgs_size) || :portrait, 'div', filter_label %>
</li>