From eb28e33973acb15735420e6df7cbd1878ad09db1 Mon Sep 17 00:00:00 2001 From: Gabriela Navarro Date: Tue, 3 Mar 2015 13:36:55 +0000 Subject: [PATCH] Fixing layout view of the block --- views/blocks/download.html.erb | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/views/blocks/download.html.erb b/views/blocks/download.html.erb index 9b327cf..201e4f5 100644 --- a/views/blocks/download.html.erb +++ b/views/blocks/download.html.erb @@ -2,21 +2,24 @@ <%= _("This community needs a software to use this block") %> <% else %>
-
-

<%= _("Download #{block.owner.software_info.community.name}") %>

-
+

<%= _("Download #{block.owner.software_info.community.name}") %>

<% block.downloads.each_with_index do |download, index| %> -
-
- <%= link_to _(""), download[:link], {:id => "image-download", :title => "Baixar o software"} %> - <%= link_to _(download[:size]), download[:link], {:id => "size-download", :title => "Baixar o software"} %> -
- <%= _("#{download[:name]}") %> - <%= _("#{download[:software_description]}") %> - <%= link_to _("Minimum Requirements"), download[:minimum_requirements] %> -
-
+
+
+ <%= link_to _(""), download[:link], {:id => "image-download", :title => "Baixar o software"} %> + <%= link_to _(download[:size]), download[:link], {:id => "size-download", :title => "Baixar o software"} %> +
+
+ <%= _("#{download[:name]}") %> + <%= _("Platform:#{download[:software_description]}") %> + <%= link_to _("Minimum Requirements"), download[:minimum_requirements] %> +
+
+ <% end %> - <% end %> +
+ <%= link_to _("License: #{block.owner.software_info.license_info.version}"), block.owner.software_info.license_info.link %> +
+
<% end %> -- libgit2 0.21.2