Commit 6ca1694df9e0c3981bc1b9f9d3f7f49e05208161
1 parent
04bfbaad
Exists in
master
and in
5 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 | 4 | <h3 class="block-title"> <%= _("Download #{block.owner.software_info.community.name}") %> </h3> |
5 | 5 | <ul class="download-list"> |
6 | 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 | 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 | 13 | </div> |
15 | 14 | <div class="download-info"> |
16 | 15 | <span class="download-name"><%= _("#{download[:name]}") %></span> | ... | ... |