Sha256: 7b4a3e5337590d86056214c9035fd828c42b01cb50b5038632da15904849f173

Contents?: true

Size: 1.39 KB

Versions: 25

Compression:

Stored size: 1.39 KB

Contents

<div id='actions'>
  <ul>
    <li>
      <%= render :partial => "/shared/admin/search", :locals => {:url => admin_inquiries_url} %>
    </li>
    <li>
      <%= link_to "Update who gets notified", edit_admin_inquiry_setting_url(InquirySetting.notification_recipients),
                                              :class => "user_comment_icon" %>
    </li>
    <li>
      <%= link_to "Edit confirmation email", edit_admin_inquiry_setting_url(InquirySetting.confirmation_body),
                                             :class => "edit_email_icon" %>
    </li>
  </ul>
</div>
<div id='records'>
  <% if searching? %>
    <h2>Search Results for "<%= params[:search] %>"</h2>
    <%= render :partial => "inquiry", :collection => @inquiries %>
  <% else %>
    <h2>Open Inquiries</h2>
    <% if @open_inquiries.size > 0 -%>
      <ul>
        <%= render :partial => "inquiry", :collection => @open_inquiries %>
      </ul>
    <% else -%>
      <p>
        <%= refinery_icon_tag('accept.png', :style => 'vertical-align: bottom') %>
        Hooray! There are no open inquiries because you've dealt with them all.
      </p>
    <% end -%>
    <h2>Closed Inquiries</h2>
    <% if @closed_inquiries.size > 0 -%>
      <ul>
        <%= render :partial => "inquiry", :collection => @closed_inquiries %>
      </ul>
    <% else -%>
      <p>
        You haven't closed any inquiries yet.
      </p>
    <% end -%>
  <% end %>
</div>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
refinerycms-0.9.6.6 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.6.5 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.6.4 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.6.3 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.6.2 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.6.1 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.6 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.31 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.30 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.29 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.28 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.27 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.26 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.25 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.24 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.23 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.22 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.21 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.20 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.19 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb