Sha256: f31aafd1cbdf6c62e43c266d21484fbe5abdeb6053b30721129f48fdc0dcd981
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
<div class="download" id="download-<%= download.id %>"> <h2> <% if download.locale.present? %> <span class="download-locale">[<%= download.locale %>]</span> <% end %> <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.4 | app/views/ecm/downloads/downloads/_download.html.erb |