Commit 5fa29fa0de72804f454e2736cd202c41ec51d504

Authored by Rafael Martins
Committed by Daniela Feitosa
1 parent de2b84de

Put hint on profile box from the old browse controller

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/views/search/_profile.rhtml
1 1 <li class="search-profile-item">
2 2 <% if @empty_query or @results.size > 1 or !profile.enterprise? %>
3   - <%= profile_image_link profile, :portrait, 'div' %>
  3 + <%= profile_image_link profile, :portrait, 'div',
  4 + @filter == 'more_recent' ? profile.send(@filter + '_label') + show_date(profile.created_at) : profile.send(@filter + '_label') %>
4 5 <% else %>
5 6 <div class="search-enterprise-item">
6 7 <div class="search-enterprise-item-column-left">
... ...