Sha256: f9cae8fd5831d773b50b3f879a689af4e41bc53e0b0cd6085c139d4281eac38d

Contents?: true

Size: 1.03 KB

Versions: 131

Compression:

Stored size: 1.03 KB

Contents

<%= render 'spree/admin/shared/general_tabs' %>

<% content_for :page_title do %>
  <%= plural_resource_name(Spree::Store) %>
<% end %>

<% content_for :page_actions do %>
  <% if can?(:create, Spree::Store) %>
    <li>
      <%= link_to t('spree.new_store'), new_admin_store_url, class: 'button' %>
    </li>
  <% end %>
<% end %>

<table class="index">
  <thead>
    <tr>
      <th><%= Spree::Store.human_attribute_name(:name) %></th>
      <th><%= Spree::Store.human_attribute_name(:url) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @stores.each do |store| %>
      <tr>
        <td>
          <%= store.name %>
          <% if store.default? %>
            <span class="label label-default"><%= Spree::Store.human_attribute_name(:default) %></span>
          <% end %>
        </td>
        <td><%= store.url %></td>
        <td class="actions">
          <% if can?(:edit, store) %>
            <%= link_to_edit store, no_text: true %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

131 entries across 131 versions & 2 rubygems

Version Path
solidus_backend-2.11.4 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.11.3 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.11.2 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.11.1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.10.3 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.11.0 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.10.2 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.9.6 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.8.6 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.10.1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.9.5 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.10.0 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.9.4 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.6.6 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.7.4 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.8.5 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.9.3 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.9.2 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.10.0.beta1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.7.3 app/views/spree/admin/stores/index.html.erb