Sha256: 5fb2143f7ba116c143b031977689b47859bc96fccf8eeaebc043eee9d72ad36f

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

<div class="download" id="download-<%= download.id %>">
  <h2><span class="download-locale"><%= download.locale %></span><span class="download-name"><%= download.name %></span></h2>
  <ul>
    <li class="download-asset_file_name"><%= Ecm::Downloads::Download.human_attribute_name(:asset_file_name) %>: <%= download.asset_file_name %></li>
    <li class="download-asset_file_size"><%= Ecm::Downloads::Download.human_attribute_name(:asset_file_size) %>: <%= number_to_human_size(download.asset_file_size) %></li>
    <li class="download-created_at"><%= Ecm::Downloads::Download.human_attribute_name(:created_at) %>: <%= l download.created_at %></li>
    <li class="download-updated_at"><%= Ecm::Downloads::Download.human_attribute_name(:updated_at) %>: <%= l download.updated_at %></li>
  </ul> 
  <% unless download.description.blank? %>
  <div class="download-description">
    <p><%= download.description %></p>
  </div>
  <% end %>
  <div class="download-actions">
    <p><%= link_to t('ecm.downloads.download.actions.start_download'), download.asset.url, { :class => 'download-link button' } %></p>
  </div>
</div>

<hr />

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_downloads-0.0.3 app/views/ecm/downloads/downloads/_download.html.erb