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