Sha256: 5171bf5b7ef464cd08e2e698b6e8f0569b5f48c1c3ac8bdb80bde26b03d8a291

Contents?: true

Size: 924 Bytes

Versions: 16

Compression:

Stored size: 924 Bytes

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 Spree.t(:new_store), new_admin_store_url, class: 'button' %>
    </li>
  <% end %>
<% end %>

<table class="index">
  <thead>
    <tr>
      <th>Name</th>
      <th>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">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

16 entries across 16 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.4.1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.3.1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.2.2 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.4.0 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.3.0 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.3.0.rc3 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.3.0.rc2 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.3.0.rc1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.3.0.beta1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.2.1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.2.0 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.2.0.rc1 app/views/spree/admin/stores/index.html.erb
solidus_backend-2.2.0.beta1 app/views/spree/admin/stores/index.html.erb