Sha256: 386e54f0a19e08950e3ffa421c37f2de80cb66334153cf87699be1f8748c07a3
Contents?: true
Size: 1.02 KB
Versions: 30
Compression:
Stored size: 1.02 KB
Contents
<% if @attachments.empty? %> <%= render_message do %> <% if search_filter_params[:q].present? %> <%= Alchemy.t(:no_search_results) %> <% else %> <%= Alchemy.t(:no_files_in_archive) %> <% end %> <% end %> <% else %> <table id="all_files" class="list"> <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> <tbody> <%= render partial: 'alchemy/admin/attachments/attachment', collection: @attachments %> </tbody> </table> <%= paginate @attachments, theme: 'alchemy' %> <% end %>
Version data entries
30 entries across 30 versions & 1 rubygems