Sha256: 43cb32c6405a7caaa8ace5af51caef4eadb4c11f062d7d4150e9364b13d95ffd

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

<%= render :partial => '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="<%= 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/images/icons/send-email.png') %>
            <%= t('admin.mail_methods.send_testmail') %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/mail_methods/index.html.erb
spree_core-0.70.RC1 app/views/admin/mail_methods/index.html.erb