Sha256: bf32d0c6a90c93a89417cbbf2d0d239db8c145befa44f3e7a9d1d65e6e676a83
Contents?: true
Size: 937 Bytes
Versions: 2
Compression:
Stored size: 937 Bytes
Contents
<% content_for :sidebar do %> <%= typus_block :location => @resource[:self], :partial => 'sidebar' %> <%= actions %> <%= search %> <%= filters %> <% end %> <h2><%= link_to _('Dashboard'), admin_dashboard_path %> › <%= _(@resource[:class].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].human_name.pluralize.downcase) %></p> <% else %> <p><%= _("There are no {{records}} under this filter.", :records => @resource[:class].human_name.pluralize.downcase) %></p> <% end %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fesplugas-typus-0.9.7 | app/views/admin/resources/index.html.erb |
fesplugas-typus-0.9.8 | app/views/admin/resources/index.html.erb |