Sha256: 4b9da2bbc8abd39014c9df8c8b8d27b2e743bc7fb06a89deb54e7e2945d66aa8

Contents?: true

Size: 803 Bytes

Versions: 5

Compression:

Stored size: 803 Bytes

Contents

<%= render :partial => "submenu" %>
<div id='records'>
  <% if searching? %>
    <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2>
    <% if @inquiries.any? %>
      <ul>
        <%= render :partial => "inquiry", :collection => @inquiries %>
      </ul>
    <% else %>
      <p><%= t('shared.admin.search.no_results') %></p>
    <% end %>
  <% else %>
    <% if @grouped_inquiries.any? -%>
      <% @grouped_inquiries.each do |container| %>
        <h3><%= l((inquiry_group = container.last).first.created_at, :format => :short) %></h3>
        <ul>
          <%= render :partial => 'inquiry', :collection => inquiry_group %>
        </ul>
      <% end %>
    <% else -%>
      <p>
        <strong><%= t('.no_spam') %></strong>
      </p>
    <% end -%>
  <% end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-inquiries-0.9.9.7 app/views/admin/inquiries/spam.html.erb
refinerycms-inquiries-0.9.9.6 app/views/admin/inquiries/spam.html.erb
refinerycms-inquiries-0.9.9.5 app/views/admin/inquiries/spam.html.erb
refinerycms-inquiries-0.9.9.4 app/views/admin/inquiries/spam.html.erb
refinerycms-inquiries-0.9.9.3 app/views/admin/inquiries/spam.html.erb