From 7b85b607893d3a6386809536275a0ed98f1ed161 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Mon, 20 Feb 2012 10:40:46 -0200 Subject: [PATCH] Removed territory facet from Enterprise search view --- app/views/search/_profile.rhtml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app/views/search/_profile.rhtml b/app/views/search/_profile.rhtml index d72edc3..1b0940e 100644 --- a/app/views/search/_profile.rhtml +++ b/app/views/search/_profile.rhtml @@ -20,7 +20,6 @@ <%= _("City") %> <% if profile.region %> <%= city_with_state(profile.region) %> - <% else %> <% end %> <% if !profile.description.blank? %> @@ -29,10 +28,14 @@
<% profile.top_level_categorization.each do |parent, children| %> -
- <%= parent.name %> - <%= children.collect(&:name).join(', ') %> -
+ <% if parent.name != "Territórios" %> +
+ <%= parent.name %> + + <%= children.collect(&:name).join(', ') %> + +
+ <% end %> <% end %>
-- libgit2 0.21.2