Commit c5e3bd8aadf526edcfa5f5705acca722b23219ca
Committed by
Thiago Ribeiro
1 parent
e548b297
Exists in
master
and in
79 other branches
Fixing classes in download block
Showing
1 changed file
with
5 additions
and
6 deletions
Show diff stats
views/blocks/download.html.erb
@@ -4,13 +4,12 @@ | @@ -4,13 +4,12 @@ | ||
4 | <h3 class="block-title"> <%= _("Download #{block.owner.software_info.community.name}") %> </h3> | 4 | <h3 class="block-title"> <%= _("Download #{block.owner.software_info.community.name}") %> </h3> |
5 | <ul class="download-list"> | 5 | <ul class="download-list"> |
6 | <% block.downloads.each_with_index do |download, index| %> | 6 | <% block.downloads.each_with_index do |download, index| %> |
7 | - <div id="download-info-<%=(index+1)%>"> | ||
8 | - <div id="version01"> | 7 | + <li id="download-item-<%=(index+1)%>"> |
8 | + <div class="download-button"> | ||
9 | <%= link_to :controller => 'software_communities_plugin_profile', :action=> 'download_file', :block=>block.id, :download_index=> index , title: _("Download the software") do %> | 9 | <%= link_to :controller => 'software_communities_plugin_profile', :action=> 'download_file', :block=>block.id, :download_index=> index , title: _("Download the software") do %> |
10 | - <span id="image-download"></span> | ||
11 | - <span id="size-download"><%= download[:size] %></span> | ||
12 | - <% end %> | ||
13 | - </div> | 10 | + <span class="download-image"></span> |
11 | + <span class="download-size"><%= download[:size] %></span> | ||
12 | + <% end %> | ||
14 | </div> | 13 | </div> |
15 | <div class="download-info"> | 14 | <div class="download-info"> |
16 | <span class="download-name"><%= _("#{download[:name]}") %></span> | 15 | <span class="download-name"><%= _("#{download[:name]}") %></span> |