Sha256: 70b2b77aaa05fdb0980866dd46db48ac3bf8be7035654843251f84c2ef359398

Contents?: true

Size: 1.32 KB

Versions: 17

Compression:

Stored size: 1.32 KB

Contents

<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li>
      <%= button_link_to t(:new_mail_method), new_object_url, :icon => 'add', :id => 'admin_new_mail_method_link' %>
    </li>
  </ul>
  <br class="clear" />
</div>

<h1><%= t(:mail_methods) %></h1>

<table class="index" id="mail_methods_listing">
  <thead data-hook="admin_mail_methods_index_headers">
    <th><%= t(:environment) %></th>
    <th><%= t(:active) %></th>
    <th data-hook="admin_mail_methods_index_header_actions">
    </th>
  </thead>
  <tbody>
    <% @mail_methods.each do |method|%>
      <tr id="<%= spree_dom_id method %>" data-hook="admin_mail_methods_index_rows">
        <td width="100px"><%= method.environment.to_s.titleize %></td>
        <td width="60px"><%= method.active ? t(:yes) : t(:no) %></td>
        <td width="140px" data-hook="admin_mail_methods_index_row_actions">
          <%= link_to_edit method, :class => 'edit' %> &nbsp;
          <%= link_to_delete method %>
          <%= link_to testmail_admin_mail_method_path(method), :method => :post, :class => 'send_mail' do %>
            <%= image_tag('admin/icons/send-email.png') %>
            <%= t('admin.mail_methods.send_testmail') %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.6 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.5 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.2.4 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.2.3 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.2.2 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.4 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.2.0 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.3 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.2 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.2.rc1 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.1 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.0 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.0.rc2 app/views/spree/admin/mail_methods/index.html.erb
spree_core-1.1.0.rc1 app/views/spree/admin/mail_methods/index.html.erb