Sha256: 3ed2ab7b64824a3764c67d90e445410a686e0a03755ea2d406fcc9fe754dca2c

Contents?: true

Size: 1.28 KB

Versions: 5

Compression:

Stored size: 1.28 KB

Contents

<li class='clearfix record <%= cycle("on", "on-hover") %>'>
  <span class='title'>
    <%= link_to inquiry.name, refinery.inquiries_admin_inquiry_path(inquiry) %> <%= t('.said') %>
    <span class="preview"><%= truncate(strip_tags(sanitize(inquiry.message)), :length => 60) -%></span>
  </span>
  <span class='actions'>
    <%= link_to refinery_icon_tag('delete.png'), 
                refinery.inquiries_admin_inquiry_path(inquiry),
                :class => "cancel confirm-delete",
                :title => t('refinery.inquiries.admin.inquiries.delete'),
                :data => {
                  :confirm => t('refinery.admin.delete.message', :title => inquiry.name)
                },
                :method => :delete -%>

    <%= link_to refinery_icon_tag('zoom.png'), refinery.inquiries_admin_inquiry_path(inquiry),
                :title => t('.read_inquiry') -%>

    <% if inquiry.spam? %>
      <%= link_to refinery_icon_tag('email.png'),
                  refinery.toggle_spam_inquiries_admin_inquiry_path(inquiry),
                  :title => t('.mark_as_ham') -%>
    <% else %>
      <%= link_to refinery_icon_tag('bin_closed.png'),
                  refinery.toggle_spam_inquiries_admin_inquiry_path(inquiry),
                  :title => t('.mark_as_spam') -%>
    <% end %>
  </span>
</li>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-inquiries-4.0.0 app/views/refinery/inquiries/admin/inquiries/_inquiry.html.erb
refinerycms-inquiries-3.1.0 app/views/refinery/inquiries/admin/inquiries/_inquiry.html.erb
refinerycms-inquiries-3.0.1 app/views/refinery/inquiries/admin/inquiries/_inquiry.html.erb
refinerycms-inquiries-3.0.0 app/views/refinery/inquiries/admin/inquiries/_inquiry.html.erb
refinerycms-inquiries-2.1.0 app/views/refinery/inquiries/admin/inquiries/_inquiry.html.erb