Sha256: 563b07c118bef3cd41149125339546a34a3b816047154001ea504d6aefbe63ea

Contents?: true

Size: 1.13 KB

Versions: 8

Compression:

Stored size: 1.13 KB

Contents

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

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

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

<table class="index">
  <thead>
    <%= hook :admin_mail_methods_index_headers do %>
      <th><%= t("environment") %></th>
      <th><%= t("active") %></th>
    <% end %>
    <th>
      <%= hook :admin_mail_methods_index_header_actions %>
    </th>
  </thead>
  <tbody>
    <% @mail_methods.each do |method|%>
      <tr id="<%= dom_id method %>">
        <%- locals = {:method => method} %>
        <%= hook :admin_mail_methods_index_rows, locals do %>
          <td width="100px"><%= method.environment.to_s.titleize %></td>
          <td width="60px"><%= method.active ? t(:yes) : t(:no) %></td>
        <% end %>
        <td width="140px">
          <%= hook :admin_mail_methods_index_row_actions, locals do %>
            <%= link_to_edit method %> &nbsp;
            <%= link_to_delete method %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.30.2 app/views/admin/mail_methods/index.html.erb
spree_core-0.40.4 app/views/admin/mail_methods/index.html.erb
spree_core-0.40.3 app/views/admin/mail_methods/index.html.erb
spree_core-0.40.2 app/views/admin/mail_methods/index.html.erb
spree_core-0.40.1 app/views/admin/mail_methods/index.html.erb
spree_core-0.40.0 app/views/admin/mail_methods/index.html.erb
spree_core-0.30.1 app/views/admin/mail_methods/index.html.erb
spree_core-0.30.0 app/views/admin/mail_methods/index.html.erb