Sha256: 131149f97dd862a5f40e7965677515fad9d77b3134898f0ac335cdabf60eccab

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

<div id='actions'>
  <ul>
    <li>
      <%= render :partial => "/shared/admin/search", :locals => {:url => admin_themes_url} %>
    </li>
    <% if Theme::directory_is_writable? %>
      <li>
        <%= link_to "Upload New Theme", new_admin_theme_url, :class => "add_icon" %>
      </li>
    <% end %>
  </ul>
</div>
<div id='records'>
  <% if searching? %>
    <h2>Search Results for "<%= params[:search] %>"</h2>
    <% if @themes.any? %>
        <%= render :partial => "theme", :collection => @themes %>
    <% else %>
      <p>Sorry, no results found.</p>
    <% end %>
  <% else %>
    <% if @themes.any? -%>
      <%= will_paginate @themes, :previous_label => '&laquo;', :next_label => '&raquo;' %>
      <ul id='image_grid'>
        <%= render :partial => "theme", :collection => @themes %>
      </ul>
      <%= will_paginate @themes, :previous_label => '&laquo;', :next_label => '&raquo;' %>
    <% else -%>
      <p>
        <strong>There are no themes yet. Click "Upload New Theme" to add your first theme.</strong>
      </p>
    <% end -%>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

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