Sha256: 925b4b3d8066e40f9b095fa900034cff4b3c9abd41aef453012a1abce12b3629

Contents?: true

Size: 1.01 KB

Versions: 28

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

28 entries across 28 versions & 1 rubygems

Version Path
alchemy_cms-2.2.rc13 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.2.rc11 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.2.rc8 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.2.rc7 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.2.rc6 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.2.rc3 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.2.rc2 app/views/alchemy/admin/attachments/_files_list.html.erb
alchemy_cms-2.2.rc1 app/views/alchemy/admin/attachments/_files_list.html.erb