Sha256: 495f904775a78263f1f61079f85c1ee11ce43fbf0574323be9e6bfdc8431458c

Contents?: true

Size: 1.84 KB

Versions: 14

Compression:

Stored size: 1.84 KB

Contents

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><%= "Spree #{t('administration')}: " %>
<%= t(controller.controller_name, :default => controller.controller_name.titleize) %></title>

<%= javascript_tag do %>
  ajax_urls = <%== {
    :product_search_json       => admin_products_url(:format => 'json'),
    :product_search_basic_json => admin_products_url(:format => 'json', :json_format => 'basic', :limit => 10),
    :user_search_basic_json    => admin_users_url(:format => 'json', :json_format => 'basic', :limit => 10)
  }.to_json %>;

  strings = <%==
    [:no_results, :type_to_search, :searching].
    inject({}){|memo, item| {item => t(item) }}.to_json
  %>
<% end %>

<%= stylesheet_link_tag 'admin/admin-reset', 'admin/grids', 'admin/admin-typography', 'admin/admin-forms', 'admin/admin-tables', 'admin/admin', 'admin/autocomplete', 'admin/token-input', :cache => 'admin/admin-all' %>
<%= javascript_include_tag 'jquery-1.4.2.min.js', 'rails', 'jquery-ui', 'jquery.suggest', 'jquery.tokeninput.js', 'jquery.delayedobserver.js', :cache => 'jquery-admin-plugins' %>
<%= javascript_include_tag('jquery.template') unless controller.controller_name == "overview" %>
<%= javascript_include_tag 'admin', 'nested-attribute', 'zone', 'calculator', 'gateway' %>
<%= javascript_tag "$ = jQuery;" %>
<%= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %>
<%= javascript_include_tag 'jquery.alerts/jquery.alerts.js' %>
<%= javascript_include_tag 'jquery.autocomplete.min.js' %>

<%= stylesheet_link_tag '/javascripts/jquery.alerts/jquery.alerts.css' %>
<%= stylesheet_link_tag '/javascripts/jquery.alerts/jquery.alerts.spree.css' %>
<%#= stylesheet_link_tag 'jquery.autocomplete.css'
%>

<%= javascript_tag "jQuery.alerts.dialogClass = 'spree';" %>
<%== unobtrusive_datepicker_includes %>
<%= yield :head %>

Version data entries

14 entries across 14 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/shared/_admin_head.html.erb
My-Commerce_core-1.1.0 app/views/shared/_admin_head.html.erb
My-Commerce_core-1.0.0 app/views/shared/_admin_head.html.erb
MyCommerceapi-1.0.0 core/app/views/shared/_admin_head.html.erb
MyCommerce-0.0.3 core/app/views/shared/_admin_head.html.erb
rfcommerce_core-0.0.3 app/views/shared/_admin_head.html.erb
spree_core-0.60.6 app/views/shared/_admin_head.html.erb
spree_core-0.60.5 app/views/shared/_admin_head.html.erb
spree_core-0.60.4 app/views/shared/_admin_head.html.erb
spree_core-0.60.3 app/views/shared/_admin_head.html.erb
spree_core-0.60.2 app/views/shared/_admin_head.html.erb
spree_core-0.60.1 app/views/shared/_admin_head.html.erb
spree_core-0.60.0 app/views/shared/_admin_head.html.erb
spree_core-0.60.0.RC1 app/views/shared/_admin_head.html.erb