Sha256: 9156b39f687d8d12f62614fe609fd7126c3b08d25f036b14ccb867b4bd3ff417

Contents?: true

Size: 1.52 KB

Versions: 11

Compression:

Stored size: 1.52 KB

Contents

<li class='clearfix record <%%= cycle("on", "on-hover") %>'>
  <span class='title'>
    <%%= link_to <%= singular_name %>.name, refinery.<%= namespacing.underscore %>_admin_<%= singular_name %>_path(<%= singular_name %>) %> <%%= t('.said') %>
    <span class="preview"><%%= truncate(strip_tags(sanitize(<%= singular_name %>.message)), :length => 60) -%></span>
  </span>
  <span class='actions'>
    <%%= link_to refinery_icon_tag('delete.png'), refinery.<%= namespacing.underscore %>_admin_<%= singular_name %>_path(<%= singular_name %>),
                :class => "cancel confirm-delete",
                :title => t('admin.<%= plural_name %>.delete'),
                :'data-confirm' => t('shared.admin.delete.message', :title => <%= singular_name %>.name),
                :'data-method' => "delete" -%>

    <%%= link_to refinery_icon_tag('zoom.png'), refinery.<%= namespacing.underscore %>_admin_<%= singular_name %>_path(<%= singular_name %>),
                :title => t('.read_<%= singular_name %>') -%>
<% if @includes_spam %>
    <%% if <%= singular_name %>.spam? %>
      <%%= link_to refinery_icon_tag('email.png'), refinery.toggle_spam_<%= namespacing.underscore %>_admin_<%= singular_name %>_path(<%= singular_name %>),
                  :title => t('.mark_as_ham') -%>
    <%% else %>
      <%%= link_to refinery_icon_tag('bin_closed.png'), refinery.toggle_spam_<%= namespacing.underscore %>_admin_<%= singular_name %>_path(<%= singular_name %>),
                  :title => t('.mark_as_spam') -%>
    <%% end %>
<% end -%>
  </span>
</li>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-core-2.1.5 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.1.4 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.1.3 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.1.2 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.1.1 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.1.0 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.0.10 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.0.9 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.0.8 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.0.7 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
refinerycms-core-2.0.6 lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb