Sha256: 165925f99adc25007a2bf6412906a2d28cf169b2491580065ed4569425b15730
Contents?: true
Size: 886 Bytes
Versions: 6
Compression:
Stored size: 886 Bytes
Contents
<% content_for :sidebar do %> <%= typus_block :location => @resource[:self], :partial => 'sidebar' %> <%= actions %> <%= search %> <%= filters %> <% end %> <h2><%= @resource[:class].typus_human_name.pluralize %> <%= remove_filter_link %></h2> <%= typus_block :location => @resource[:self], :partial => 'index' %> <% unless @items.count.zero? -%> <%= build_list(@resource[:class], @fields, @items) %> <%= render :partial => 'admin/shared/pagination' if @items.prev || @items.next %> <% else %> <div id="flash" class="notice"> <% if @resource[:class].count.zero? %> <p><%= _("There are no {{records}}.", :records => @resource[:class].typus_human_name.pluralize.downcase) %></p> <% else %> <p><%= _("There are no {{records}} under this filter.", :records => @resource[:class].typus_human_name.pluralize.downcase) %></p> <% end %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems