Sha256: f4c808eee414e73bd02fad36688898a626cd65dd8b2d8c10975cd326394319e9
Contents?: true
Size: 1.22 KB
Versions: 10
Compression:
Stored size: 1.22 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"> <%= sortable_column(Alchemy::Attachment.human_attribute_name('name'), :column => :name) %> </th> <th class="file_name"> <%= sortable_column(Alchemy::Attachment.human_attribute_name('file_name'), :column => :file_name) %> </th> <th class="file_type"><%= Alchemy::Attachment.human_attribute_name('file_mime_type') %></th> <th class="file_size"> <%= sortable_column(Alchemy::Attachment.human_attribute_name('file_size'), :column => :file_size) %> </th> <th class="date"> <%= sortable_column(Alchemy::Attachment.human_attribute_name('created_at'), :column => :created_at) %> </th> <th class="tools"></th> </tr> <% end %> <%= render :partial => 'alchemy/admin/attachments/attachment', :collection => @attachments %> </table> <%= paginate @attachments, theme: 'alchemy' %>
Version data entries
10 entries across 10 versions & 1 rubygems