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>
|
2012-02-10 08:43:58 +00:00
|
|
|
<li><%= link_to t('admin.assets.file'), '', :remote => true, :class => 'button positive' %></li>
|
|
|
|
<li><%= link_to t('admin.assets.album'), '', :remote => true, :class => 'button positive'%></li>
|
|
|
|
<li><%= link_to t('admin.assets.video'), '', :remote => true, :class => 'button positive' %></li>
|
|
|
|
<li><%= link_to t('admin.assets.book'), '', :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>
|