Sha256: a7a4d2bb13d3883374c44af61bb13b23b36533ffb7dd6e7ce10593bc79bc665a

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 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"><%= Alchemy::Attachment.human_attribute_name('name') %></th>
    <th class="file_name"><%= Alchemy::Attachment.human_attribute_name('filename') %></th>
    <th class="file_type"><%= Alchemy::Attachment.human_attribute_name('content_type') %></th>
    <th class="file_size"><%= Alchemy::Attachment.human_attribute_name('size') %></th>
    <th class="date"><%= Alchemy::Attachment.human_attribute_name('created_at') %></th>
    <th class="tools"></th>
  </tr>
  <%- end -%>
  <%= render :partial => 'alchemy/admin/attachments/attachment', :collection => @attachments %>
</table>

<%= paginate @attachments %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/attachments/_files_list.html.erb