Sha256: f33218848e5932408fb3af102106c23277501758ef58f002fee4aad913008456
Contents?: true
Size: 980 Bytes
Versions: 133
Compression:
Stored size: 980 Bytes
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) %></th> <th class="file_name"><%= sort_link(@query, :file_name) %></th> <th class="file_type"><%= Alchemy::Attachment.human_attribute_name('file_mime_type') %></th> <th class="file_size"><%= sort_link(@query, :file_size) %></th> <th class="date"><%= sort_link(@query, :created_at, default_order: 'desc') %></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
133 entries across 133 versions & 1 rubygems