Sha256: 5273211f475e4ec1e2befd2e5e5d702fa259094e02f657d670bca0a8f4425a68
Contents?: true
Size: 1.73 KB
Versions: 3
Compression:
Stored size: 1.73 KB
Contents
<%= render 'admin/shared/spree_mail_sub_nav' %> <div class='toolbar'> <ul class='actions'> <li> <p><%= button_link_to t("new_email"), new_object_url, :icon => 'add' %></p> </li> </ul> <br class='clear' /> </div> <h1><%= t("listing_emails") %></h1> <table class="index"> <thead> <tr> <%= hook :admin_emails_index_headers do %> <th><%= order @search, :by => :subject, :as => t("subject") %></th> <th><%= order @search, :by => :body, :as => t("message_body") %></th> <th><%= hook :admin_emails_index_header_actions %></th> <% end %> </tr> </thead> <tbody> <% @emails.each do |email|%> <tr id="<%= dom_id email %>"> <%- locals = {:email => email} %> <%= hook :admin_emails_index_rows, locals do %> <td><%=link_to email.subject, object_url(email) %></td> <td><%= mail_to email.body.truncate(100) %></td> <% end %> <td> <%= hook :admin_emails_index_row_actions, locals do %> <%= link_to_edit email %> <%= link_to_delete email %> <% end %> </td> </tr> <% end %> </tbody> </table> <%= will_paginate(:previous_label => "« #{t('previous')}", :next_label => "#{t('next')} »") %> <% content_for :sidebar do %> <div class="box"> <h3><%= t(:search) %></h3> <%= form_for @search do |f| %> <%- locals = {:f => f} %> <%= hook :admin_emails_index_search, locals do %> <p> <%= t("to") %><br /> <%= f.text_field :to_contains, :size=>18 %> </p> <% end %> <%= hook :admin_emails_index_search_buttons, locals do %> <p><%= button t("search") %></p> <% end %> <% end %> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_mail-0.40.0.3 | app/views/admin/emails/index.html.erb |
spree_mail-0.40.0.2 | app/views/admin/emails/index.html.erb |
spree_mail-0.40.0.1 | app/views/admin/emails/index.html.erb |