Sha256: 1bc1a066d0cf89a482849a8a14eabc882bebbf1600e775ee06e04ebea8f2f1a2

Contents?: true

Size: 1.28 KB

Versions: 17

Compression:

Stored size: 1.28 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? %>
  <thead>
    <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>
  </thead>
  <% end %>
  <tbody>
    <%= render partial: 'alchemy/admin/attachments/attachment', collection: @attachments %>
  </tbody>
</table>

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

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/attachments/_files_list.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/attachments/_files_list.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/attachments/_files_list.html.erb