Sha256: 6617b4ab021f200339c5fdf326cf307a8d96308648cfb92543ef914d33d170aa
Contents?: true
Size: 1.08 KB
Versions: 31
Compression:
Stored size: 1.08 KB
Contents
<% if @attachments.blank? && params[:q].blank? %> <div class="info" id="no_files_notice"> <%= render_icon('info') %> <%= Alchemy.t(:no_files_in_archive) %> </div> <% elsif @attachments.blank? %> <div class="info"> <%= render_icon('info') %> <%= Alchemy.t(:no_search_results) %> </div> <% end %> <table id="all_files" class="list"> <% unless @attachments.blank? %> <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> <% end %> <tbody> <%= render partial: 'alchemy/admin/attachments/attachment', collection: @attachments %> </tbody> </table> <%= paginate @attachments, theme: 'alchemy' %>
Version data entries
31 entries across 31 versions & 1 rubygems