From b999c56080c53449a0e08f71f15d1bee54d1ce9c Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Fri, 8 Jan 2016 08:29:07 -0300 Subject: [PATCH] Fix link to community when there are 2 environments --- src/noosfero-spb/software_communities/views/search/_full_community.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/noosfero-spb/software_communities/views/search/_full_community.html.erb b/src/noosfero-spb/software_communities/views/search/_full_community.html.erb index b08f730..d85e752 100644 --- a/src/noosfero-spb/software_communities/views/search/_full_community.html.erb +++ b/src/noosfero-spb/software_communities/views/search/_full_community.html.erb @@ -12,18 +12,18 @@
- <%= link_to_homepage(profile_image(community, :portrait), community.identifier) %> + <%= link_to(profile_image(community, :portrait), community.url) %>
<% link_name = software.acronym.blank? ? community.name : "#{software.acronym} - #{community.name}" %>

- <%= link_to_homepage(link_name, community.identifier) %> + <%= link_to(link_name, community.url) %>

<% body_stripped = strip_tags(software.finality) %> - <%= link_to_homepage(excerpt(body_stripped, body_stripped.first(3), 200), community.identifier) if body_stripped %> + <%= link_to(excerpt(body_stripped, body_stripped.first(3), 200), community.url) if body_stripped %>
-- libgit2 0.21.2