Sha256: 5602705ea9d5d1b90122345e6737e3a43f09fcfb90d33b153b2c6d3639bd6e92
Contents?: true
Size: 1.6 KB
Versions: 6
Compression:
Stored size: 1.6 KB
Contents
<div id='records'> <% if searching? %> <h2> <%= t('shared.admin.search.results_for', :query => params[:search]) %> </h2> <% end %> <% if @refinery_settings.any? %> <%= will_paginate @refinery_settings, :previous_label => '«', :next_label => '»' %> <ul> <%= render :partial => 'refinery_setting', :collection => @refinery_settings %> </ul> <%= will_paginate @refinery_settings, :previous_label => '«', :next_label => '»' %> <% else %> <p> <% if searching? %> <%= t('shared.admin.search.no_results') %> <% else %> <strong> <%= t('.empty_set') %> <%= t('.create_first', :link => t('.new')) %> </strong> <% end %> </p> <% end %> </div> <div id='actions'> <ul> <li> <%= render :partial => "/shared/admin/search", :locals => { :url => admin_refinery_settings_url } %> </li> <li> <%= link_to t('.new'), new_admin_refinery_setting_url({ :dialog => true, :width => 725, :height => 475 }), :class => "add_icon" %> </li> </ul> </div> <% content_for :head do %> <script type='text/javascript'> $(document).ready(function() { $('#records ul li .actions a[href*=edit]').each(function(i, li) { $(li).attr('name', $(li).attr('tooltip')); }); }); </script> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems