Sha256: f8c43f663687148cc504e40a056d427ecef985ffba6a9e62ba82c08e64d3e286

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

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

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li>
      <%= button_link_to t("new_tracker"), new_object_url, :icon => 'add', :id => 'admin_new_tracker_link'  %>
    </li>
  </ul>
  <br class="clear">
</div>

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

<table class="index">
  <thead>
    <tr data-hook="admin_trackers_index_headers">
      <th><%= t(:google_analytics_id) %></th>
      <th><%= t("environment") %></th>
      <th><%= t("active") %></th>
      <th><%= t("action") %></th>
    </tr>
  </thead>
  <tbody>
    <% @trackers.each do |tracker|%>
      <tr id="<%= dom_id tracker %>" data-hook="admin_trackers_index_rows">
        <td><%= tracker.analytics_id %></td>
        <td><%= tracker.environment.to_s.titleize %></td>
        <td><%= tracker.active ? t(:yes) : t(:no) %></td>
        <td>
        	<%= link_to_edit tracker %> &nbsp;
        	<%= link_to_delete tracker %>
        </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/trackers/index.html.erb
spree_core-0.70.RC1 app/views/admin/trackers/index.html.erb