Sha256: f4c808eee414e73bd02fad36688898a626cd65dd8b2d8c10975cd326394319e9

Contents?: true

Size: 1.22 KB

Versions: 10

Compression:

Stored size: 1.22 KB

Contents

<% if @attachments.blank? && params[:query].nil? %>
<div class="info" id="no_files_notice">
  <%= render_icon('info') %>
  <%= _t(:no_files_in_archive) %>
</div>
<% elsif @attachments.blank? %>
<div class="info">
  <%= render_icon('info') %>
  <%= _t(:no_search_results) %>
</div>
<% end %>
<table id="all_files" class="list">
  <% unless @attachments.blank? %>
  <tr>
    <th class="icon"></th>
    <th class="name">
      <%= sortable_column(Alchemy::Attachment.human_attribute_name('name'), :column => :name) %>
    </th>
    <th class="file_name">
      <%= sortable_column(Alchemy::Attachment.human_attribute_name('file_name'), :column => :file_name) %>
    </th>
    <th class="file_type"><%= Alchemy::Attachment.human_attribute_name('file_mime_type') %></th>
    <th class="file_size">
      <%= sortable_column(Alchemy::Attachment.human_attribute_name('file_size'), :column => :file_size) %>
    </th>
    <th class="date">
      <%= sortable_column(Alchemy::Attachment.human_attribute_name('created_at'), :column => :created_at) %>
    </th>
    <th class="tools"></th>
  </tr>
  <% end %>
  <%= render :partial => 'alchemy/admin/attachments/attachment', :collection => @attachments %>
</table>

<%= paginate @attachments, theme: 'alchemy' %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.0.4 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.0.0 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/attachments/_files_list.html.erb