Sha256: 8c082101a494bd554898e2afcb63e95620bfd671754eed80c8b0cfe558456d25

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_core-0.30.2 app/views/admin/trackers/index.html.erb
spree_core-0.40.4 app/views/admin/trackers/index.html.erb
spree_core-0.40.3 app/views/admin/trackers/index.html.erb
spree_core-0.40.2 app/views/admin/trackers/index.html.erb
spree_core-0.40.1 app/views/admin/trackers/index.html.erb
spree_core-0.40.0 app/views/admin/trackers/index.html.erb
spree_core-0.30.1 app/views/admin/trackers/index.html.erb
spree_core-0.30.0 app/views/admin/trackers/index.html.erb
spree_core-0.30.0.beta1 app/views/admin/trackers/index.html.erb