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-23 10:02:45 +00:00
|
|
|
<% content_for :secondary do %>
|
|
|
|
<div class="assets_setup">
|
|
|
|
<ul class="list">
|
2011-12-28 12:49:53 +00:00
|
|
|
<li><%= link_to t(:new_asset, :scope => :admin), new_admin_asset_path, :remote => true, :class => 'button positive' %></li>
|
2011-12-23 10:02:45 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<div class="main2">
|
|
|
|
<h1><%= t('admin.list_assets') %></h1>
|
|
|
|
|
|
|
|
<table>
|
2011-12-28 12:49:53 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td><%= t('admin.id') %></th>
|
|
|
|
<td><%= t('admin.file_name') %></th>
|
|
|
|
<td><%= t('admin.description') %></th>
|
|
|
|
<td><%= t('admin.format') %></th>
|
|
|
|
<td><%= t('admin.orig_upload_file') %></th>
|
|
|
|
<td><%= t('admin.file_size') %></th>
|
|
|
|
<td><%= t('admin.action') %></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id='asset_tbody'>
|
|
|
|
<%= render :partial => 'asset', :collection => @assets %>
|
|
|
|
<tbody>
|
2011-12-23 10:02:45 +00:00
|
|
|
</table>
|
|
|
|
</div>
|