Sha256: fa0603e0c5adae114bc7f49d4f6cffb0de6aaca36bc3dc5ff17fc65b12dbd1b4

Contents?: true

Size: 1.37 KB

Versions: 14

Compression:

Stored size: 1.37 KB

Contents

<div id='actions'>
	<ul>
		<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'>
  <div id='list_actions'>
  	<%= render :partial => "/shared/admin/search", :locals => {:url => admin_inquiries_url} %>
  </div>

  <% 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.4.5 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.4.4 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.4.3 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.4.2 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.4.1 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.4 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.3 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.2.2 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.2.1 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.2 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.1.2 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.1.1 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.1 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb
refinerycms-0.9.0 vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb