From 5fa29fa0de72804f454e2736cd202c41ec51d504 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Thu, 21 Jun 2012 15:41:36 -0300 Subject: [PATCH] Put hint on profile box from the old browse controller --- app/views/search/_profile.rhtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/search/_profile.rhtml b/app/views/search/_profile.rhtml index 4ac34da..5c69639 100644 --- a/app/views/search/_profile.rhtml +++ b/app/views/search/_profile.rhtml @@ -1,6 +1,7 @@
  • <% if @empty_query or @results.size > 1 or !profile.enterprise? %> - <%= profile_image_link profile, :portrait, 'div' %> + <%= profile_image_link profile, :portrait, 'div', + @filter == 'more_recent' ? profile.send(@filter + '_label') + show_date(profile.created_at) : profile.send(@filter + '_label') %> <% else %>
    -- libgit2 0.21.2