Sha256: 6617b4ab021f200339c5fdf326cf307a8d96308648cfb92543ef914d33d170aa

Contents?: true

Size: 1.08 KB

Versions: 31

Compression:

Stored size: 1.08 KB

Contents

<% if @attachments.blank? && params[:q].blank? %>
<div class="info" id="no_files_notice">
  <%= render_icon('info') %>
  <%= Alchemy.t(:no_files_in_archive) %>
</div>
<% elsif @attachments.blank? %>
<div class="info">
  <%= render_icon('info') %>
  <%= Alchemy.t(:no_search_results) %>
</div>
<% end %>
<table id="all_files" class="list">
  <% unless @attachments.blank? %>
  <thead>
    <tr>
      <th class="icon"></th>
      <th class="name"><%= sort_link(@query, :name, hide_indicator: true) %></th>
      <th class="file_name"><%= sort_link(@query, :file_name, hide_indicator: true) %></th>
      <th class="file_type"><%= Alchemy::Attachment.human_attribute_name('file_mime_type') %></th>
      <th class="file_size"><%= sort_link(@query, :file_size, hide_indicator: true) %></th>
      <th class="date"><%= sort_link(@query, :created_at, hide_indicator: true) %></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

31 entries across 31 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.5.0 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-3.4.2 app/views/alchemy/admin/attachments/_files_list.html.erb