Sha256: 47202f31ab3c614e06a2333471369b785d6107c4fe49afc1cfd6708e6c39d936

Contents?: true

Size: 1.09 KB

Versions: 9

Compression:

Stored size: 1.09 KB

Contents

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

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

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

<table class="index">
  <thead>
    <tr>
    <% hook :admin_trackers_index_headers do %>         
      <th><%= t(:google_analytics_id) %></th>
      <th><%= t("environment") %></th>
      <th><%= t("active") %></th>     
    <% end %>
      <th><%= t("action") %></th>
    </tr>
  </thead>
  <tbody>
    <% @trackers.each do |tracker|%>
      <tr id="<%= dom_id tracker %>">     
        <%- locals = {:tracker => tracker} -%>
        <% hook :admin_trackers_index_rows, locals do %>        
          <td><%= tracker.analytics_id %></td>
          <td><%= tracker.environment.to_s.titleize %></td>
          <td><%= tracker.active ? t(:yes) : t(:no) %></td>
        <% end %>
        <td>
        	<%= link_to_edit tracker %> &nbsp;
        	<%= link_to_delete tracker %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree-0.11.4 vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb
spree-0.11.3 vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb
spree-0.11.2 vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb
spree-0.11.0 vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb
spree-0.10.2 vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb
spree-0.10.1 vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb
spree-0.10.0 vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb
spree-0.10.0.beta vendor/extensions/theme_default/app/views/admin/trackers/index.html.erb