Sha256: 6557d1ac05b5dd8bec46662f28c1fc0ff48de118229d98c3e541863626e31dda

Contents?: true

Size: 1.35 KB

Versions: 9

Compression:

Stored size: 1.35 KB

Contents

<div id='actions'>
  <ul>
    <li>
      <%= render :partial => "/shared/admin/search", :locals => {:url => admin_images_url} %>
    </li>
    <li>
      <%= link_to "Create New Image", new_admin_image_url(:dialog => true, :width => 600, :height => 300), :class => "add_icon" %>
    </li>
  </ul>
  <ul>
    <% image_views.delete_if {|image_view| image_view.to_s == current_image_view.to_s }.each do |image_view| %>
      <li>
        <%= link_to "Switch to #{image_view.to_s.titleize} View",
          admin_images_url(:view => image_view, :page => params[:page]),
          :class => "reorder_icon"  %>
      </li>
    <% end %>
  </ul>
</div>
<div id='records'>
  <% if searching? %>
    <h2>Search Results for "<%= params[:search] %>"</h2>
    <% if @images.any? %>
      <%= render :partial => "#{current_image_view}_view" %>
    <% else %>
      <p>Sorry, no results found.</p>
    <% end %>
  <% else %>
    <% if @images.any? %>
      <%= will_paginate @images, :previous_label => '&laquo;', :next_label => '&raquo;' %>
      <%= render :partial => "#{current_image_view}_view" %>
      <%= will_paginate @images, :previous_label => '&laquo;', :next_label => '&raquo;' %>
    <% else %>
      <p>
        <strong>
          There are no images yet.
          Click "Create New Image" to add your first image.
        </strong>
      </p>
    <% end %>
  <% end %>
</div>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
jacobat-refinerycms-0.9.6.14 vendor/plugins/images/app/views/admin/images/index.html.erb
refinerycms-0.9.6.14 vendor/plugins/images/app/views/admin/images/index.html.erb
refinerycms-0.9.6.13 vendor/plugins/images/app/views/admin/images/index.html.erb
refinerycms-0.9.6.12 vendor/plugins/images/app/views/admin/images/index.html.erb
refinerycms-0.9.6.11 vendor/plugins/images/app/views/admin/images/index.html.erb
refinerycms-0.9.6.10 vendor/plugins/images/app/views/admin/images/index.html.erb
refinerycms-0.9.6.9 vendor/plugins/images/app/views/admin/images/index.html.erb
refinerycms-0.9.6.8 vendor/plugins/images/app/views/admin/images/index.html.erb
refinerycms-0.9.6.7 vendor/plugins/images/app/views/admin/images/index.html.erb