diff --git a/public/style.css b/public/style.css index 0f55e7f..1c1e49f 100644 --- a/public/style.css +++ b/public/style.css @@ -227,7 +227,7 @@ border-radius:8px; background-color:#e9e8ed; padding:3px 6px; - margin:10px 3px; + margin: 10px 3px; color: blue; } diff --git a/views/search/_catalog_filter.html.erb b/views/search/_catalog_filter.html.erb index 4a7e6fe..cf3f6e6 100644 --- a/views/search/_catalog_filter.html.erb +++ b/views/search/_catalog_filter.html.erb @@ -1,5 +1,6 @@
+
- <%= _("Categories filter") %>: - <%= text_field(:software, :catalog, :id=>"software-catalog", :placeholder=>_("Type a category name here")) %> +

+ <%= _("Categories filter") %>: + <%= text_field(:software, :catalog, :id=>"software-catalog", :placeholder=>_("Type a category name here")) %> +

\ No newline at end of file diff --git a/views/search/_full_community.html.erb b/views/search/_full_community.html.erb index 57a8fa4..7d92fc2 100644 --- a/views/search/_full_community.html.erb +++ b/views/search/_full_community.html.erb @@ -10,44 +10,57 @@
<% link_name = software.acronym.blank? ? community.name : "#{software.acronym} - #{community.name}" %> - <%= link_to_homepage(link_name, community.identifier, :class => "search-result-title") %> +

+ <%= 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", :class => "search-result-title") %> + + <%= _("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", :class => "search-result-title") %> + + <%= _("Link software repository") %>: + + <%= link_to(software.repository_link, software.repository_link, :target=>"blank") %>
- <%= _("Software Categories") %> + + <%= _("Software Categories") %>: + - <% if not community.categories.empty? %> -
-- libgit2 0.21.2