diff --git a/src/noosfero-spb/software_communities/views/box_organizer/_download_block.html.erb b/src/noosfero-spb/software_communities/views/box_organizer/_download_block.html.erb index 623c058..c40c7e7 100644 --- a/src/noosfero-spb/software_communities/views/box_organizer/_download_block.html.erb +++ b/src/noosfero-spb/software_communities/views/box_organizer/_download_block.html.erb @@ -3,7 +3,7 @@

<%= _('Download options') %>

<% @block.downloads.each do |download| %> - <%= render :partial => 'download_list', :locals => {:download => download} %> + <%= render :partial => 'download_list', :locals => {:download => download, :uploaded_files => uploaded_files} %> <% end %>
diff --git a/src/noosfero-spb/software_communities/views/box_organizer/_download_file.html.erb b/src/noosfero-spb/software_communities/views/box_organizer/_download_file.html.erb new file mode 100644 index 0000000..1f35052 --- /dev/null +++ b/src/noosfero-spb/software_communities/views/box_organizer/_download_file.html.erb @@ -0,0 +1,5 @@ +
  • + + <%= file.path%> + +
  • diff --git a/src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb b/src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb index 5f588c2..231c18f 100644 --- a/src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb +++ b/src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb @@ -1 +1,33 @@ -<%= render :partial => 'box_organizer/download_list_template', :locals => {:download => download} %> +
  • + +
  • diff --git a/src/noosfero-spb/software_communities/views/box_organizer/_download_list_template.html.erb b/src/noosfero-spb/software_communities/views/box_organizer/_download_list_template.html.erb deleted file mode 100644 index bba48a9..0000000 --- a/src/noosfero-spb/software_communities/views/box_organizer/_download_list_template.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -
  • - -
  • -- libgit2 0.21.2