This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-12-28 12:49:53 +00:00
|
|
|
<tr id="asset_<%= asset.id %>" class="have">
|
|
|
|
<td><%= asset.id %></td>
|
|
|
|
<td><div class="assets_pic"><%= image_tag(asset.data.url) %></div>
|
|
|
|
<%#= link_to asset.filename, asset.data.url, :target => '_blank' %>
|
|
|
|
</td>
|
|
|
|
<td><%= asset.description %></td>
|
|
|
|
<td><%= asset.data.file.content_type %></td>
|
2012-01-24 03:36:24 +00:00
|
|
|
<td><%= asset.data_identifier %></td>
|
2011-12-28 12:49:53 +00:00
|
|
|
<td><%= number_to_human_size(asset.data.file.file_length) %></td>
|
|
|
|
<td class="action">
|
|
|
|
<%= link_to t(:edit), edit_admin_asset_path(asset), :remote => true, :class => 'edit' %>
|
|
|
|
<%= link_to t(:delete), admin_asset_path(asset), :confirm => t('sure?'), :method => :delete, :remote => true, :class => 'delete' %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2012-01-24 03:38:53 +00:00
|
|
|
<td colspan="6"></td>
|
2011-12-28 12:49:53 +00:00
|
|
|
</tr>
|