ecm_downloads 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- <div class="download_category" id="download_category-<%= download_category.id %>">
1
+ <div class="download_category category" id="download_category-<%= download_category.id %>">
2
2
  <% if action_name == 'show' %>
3
3
  <h1 class="downloads_category-name"><%= download_category.name %></h1>
4
4
  <% else %>
@@ -17,7 +17,7 @@
17
17
  </div>
18
18
  <% end %>
19
19
 
20
- <div class="download_category-downloads">
20
+ <div class="download_category-downloads item_list">
21
21
  <h2><%= Ecm::Downloads::DownloadCategory.human_attribute_name(:ecm_downloads_downloads) %></h2>
22
22
  <% if download_category.ecm_downloads_downloads_count == 0 %>
23
23
  <%= t('ecm.downloads.download_category.messages.no_downloads_available') %>
@@ -1,5 +1,10 @@
1
1
  <div class="download" id="download-<%= download.id %>">
2
- <h2><span class="download-locale"><%= download.locale %></span><span class="download-name"><%= download.name %></span></h2>
2
+ <h2>
3
+ <% if download.locale.present? %>
4
+ <span class="download-locale">[<%= download.locale %>]</span>
5
+ <% end %>
6
+ <span class="download-name"><%= download.name %></span>
7
+ </h2>
3
8
  <ul>
4
9
  <li class="download-asset_file_name"><%= Ecm::Downloads::Download.human_attribute_name(:asset_file_name) %>: <%= download.asset_file_name %></li>
5
10
  <li class="download-asset_file_size"><%= Ecm::Downloads::Download.human_attribute_name(:asset_file_size) %>: <%= number_to_human_size(download.asset_file_size) %></li>
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Downloads
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ecm_downloads
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roberto Vasquez Angel