Sha256: bd68a627ca000915da2fc31013bb2862c3cdad8606cd5dc55a3c4a5a94cbc72d

Contents?: true

Size: 947 Bytes

Versions: 3

Compression:

Stored size: 947 Bytes

Contents

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li id="new_banner_link">
      <%= button_link_to t(:new_banner), new_object_url, {:remote => true, :icon => 'add', :id => 'admin_new_banner'} %>
    </li>
  </ul>
  <br class="clear" />
</div>

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

<div id="new_banner" data-hook></div>

<table class="index" id="listing_banners">
  <tr data-hook="admin_banners_index_headers">
    <th><%= t(:category) %></th>
    <th><%= t(:enable) %></th>
    <th data-hook="admin_banners_index_header_actions"></th>
  </tr>
<% @banners.each do |banner| %>
  <tr id="<%= spree_dom_id banner %>" data-hook="admin_banners_index_rows">
    <td><%= banner.category %></td>
	<td><%= icon('tick') if banner.enabled %></td>
    <td class="actions" data-hook="admin_banners_index_row_actions">
      <%= link_to_edit banner, :class => 'edit' %>&nbsp;<%= link_to_delete banner %>
    </td>
  </tr>
<% end %>
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_banner-1.1.5 app/views/spree/admin/banners/index.html.erb
spree_banner-1.1.4 app/views/spree/admin/banners/index.html.erb
spree_banner-1.1.3 app/views/spree/admin/banners/index.html.erb