Commit 76ade43251bfde0d4caf61b22a86d0ea424286c9

Authored by Fabio Teixeira
Committed by Gabriela Navarro
1 parent 669e0222

Show only the necessary information of software on search result

Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Showing 1 changed file with 1 additions and 21 deletions   Show diff stats
views/search/_full_community.html.erb
@@ -14,33 +14,13 @@ @@ -14,33 +14,13 @@
14 <%= link_to_homepage(link_name, community.identifier) %> 14 <%= link_to_homepage(link_name, community.identifier) %>
15 </h4> 15 </h4>
16 </span> 16 </span>
17 -  
18 <span> 17 <span>
19 <% body_stripped = strip_tags(software.finality) %> 18 <% body_stripped = strip_tags(software.finality) %>
20 - <b>  
21 - <%= _("Finality") + ":" if body_stripped %>  
22 - </b>  
23 <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %> 19 <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %>
24 </span> 20 </span>
25 </div> 21 </div>
26 22
27 - <div class="search-community-content-block">  
28 - <span>  
29 - <b>  
30 - <%= _("Software licence") %>:  
31 - </b>  
32 - <%= link_to(software.license_info.version, software.license_info.link, :target=>"blank") %>  
33 - </span>  
34 - </div>  
35 -  
36 - <div class="search-community-content-block">  
37 - <span>  
38 - <b>  
39 - <%= _("Link software repository") %>:  
40 - </b>  
41 - <%= link_to(software.repository_link, software.repository_link, :target=>"blank") %>  
42 - </span>  
43 - </div> 23 + <br />
44 24
45 <div class="search-community-content-block"> 25 <div class="search-community-content-block">
46 <span> 26 <span>