From 76ade43251bfde0d4caf61b22a86d0ea424286c9 Mon Sep 17 00:00:00 2001 From: Fabio Teixeira Date: Fri, 23 Jan 2015 11:36:07 -0200 Subject: [PATCH] Show only the necessary information of software on search result --- views/search/_full_community.html.erb | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/views/search/_full_community.html.erb b/views/search/_full_community.html.erb index 7d92fc2..9845936 100644 --- a/views/search/_full_community.html.erb +++ b/views/search/_full_community.html.erb @@ -14,33 +14,13 @@ <%= link_to_homepage(link_name, community.identifier) %> - <% body_stripped = strip_tags(software.finality) %> - - <%= _("Finality") + ":" if body_stripped %> - <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %> -
- - - <%= _("Software licence") %>: - - <%= link_to(software.license_info.version, software.license_info.link, :target=>"blank") %> - -
- -
- - - <%= _("Link software repository") %>: - - <%= link_to(software.repository_link, software.repository_link, :target=>"blank") %> - -
+
-- libgit2 0.21.2