Sha256: a86e9fd27eac5583a0f54191cb59c5664e86619c1b57ec410299939a3b9d3e8b
Contents?: true
Size: 1.46 KB
Versions: 3
Compression:
Stored size: 1.46 KB
Contents
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= t(:analytics_trackers) %> <% end %> <% content_for :page_actions do %> <li> <%= button_link_to t(:new_tracker), new_object_url, :icon => 'icon-plus', :id => 'admin_new_tracker_link' %> </li> <% end %> <% unless @trackers.any? %> <div class="no-objects-found"> <%= t(:no_trackers_found)%>, <%= link_to t(:add_one), new_object_url %>! </div> <% else %> <table class="index"> <colgroup> <col style="width: 30%"> <col style="width: 40%"> <col style="width: 15%"> <col style="width: 15%"> </colgroup> <thead> <tr data-hook="admin_trackers_index_headers"> <th><%= t(:google_analytics_id) %></th> <th><%= t(:environment) %></th> <th><%= t(:active) %></th> <th class="actions"></th> </tr> </thead> <tbody> <% @trackers.each do |tracker|%> <tr id="<%= spree_dom_id tracker %>" data-hook="admin_trackers_index_rows" class="<%= cycle('odd', 'even')%>"> <td><%= tracker.analytics_id %></td> <td><%= tracker.environment.to_s.titleize %></td> <td class="align-center"><%= tracker.active ? t(:say_yes) : t(:say_no) %></td> <td class="actions"> <%= link_to_edit tracker, :no_text => true %> <%= link_to_delete tracker, :no_text => true %> </td> </tr> <% end %> </tbody> </table> <% end%>
Version data entries
3 entries across 3 versions & 1 rubygems