Sha256: b98ea6d58a51e707b38f7aab35d1732321a3ccb448a326e74f686207c6e05e93

Contents?: true

Size: 1.35 KB

Versions: 14

Compression:

Stored size: 1.35 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

14 entries across 14 versions & 1 rubygems

Version Path
refinerycms-0.9.5.13 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.12 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.11 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.10 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.9 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.8 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.7 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.6 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.5 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.4 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.3 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.2 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5.1 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.5 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb