Sha256: 8c89eef3aa9127c1187f80fe210c14982015c4f22f53a79a3047860695496dbd

Contents?: true

Size: 1.1 KB

Versions: 5

Compression:

Stored size: 1.1 KB

Contents

<div id='actions'>
  <ul>
    <li>
      <%= link_to t('.new'), new_admin_refinery_setting_url(:dialog => true, :width => 725, :height => 425), :class => "add_icon" %>
    </li>
  </ul>
</div>
<div id='records'>
  <% if @refinery_settings.any? %>
    <%= will_paginate @refinery_settings, :previous_label => '&laquo;', :next_label => '&raquo;' unless searching? %>
    <ul>
      <%= render :partial => 'refinery_setting', :collection => @refinery_settings %>
    </ul>
    <%= will_paginate @refinery_settings, :previous_label => '&laquo;', :next_label => '&raquo;' unless searching? %>
  <% else %>
    <p>
      <% if searching? %>
        <%= t('admin.search_no_results') %>
      <% else %>
        <strong>
          <%= t('.empty_set') %>
          <%= t('.create_first', :link => t('.new')) %>
        </strong>
      <% end %>
    </p>
  <% end %>
</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

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-0.9.7.6 vendor/plugins/refinery_settings/app/views/admin/refinery_settings/index.html.erb
refinerycms-0.9.7.5 vendor/plugins/refinery_settings/app/views/admin/refinery_settings/index.html.erb
refinerycms-0.9.7.4 vendor/plugins/refinery_settings/app/views/admin/refinery_settings/index.html.erb
refinerycms-0.9.7.3 vendor/plugins/refinery_settings/app/views/admin/refinery_settings/index.html.erb
refinerycms-0.9.7.2 vendor/plugins/refinery_settings/app/views/admin/refinery_settings/index.html.erb