Sha256: 06f90721b67d4bef2f4036cc53e0f9a4c9d19baacd68b2b05d0e3e876b973470

Contents?: true

Size: 1.36 KB

Versions: 52

Compression:

Stored size: 1.36 KB

Contents

<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta name="turbolinks-cache-control" content="no-cache">

<%= csrf_meta_tags %>

<title><%= admin_page_title %></title>

<%= favicon_link_tag 'favicon.ico' %>
<%= stylesheet_link_tag 'spree/backend/all', media: 'all', data: {turbolinks_track: 'reload'} %>
<%= javascript_include_tag 'spree/backend/all', data: {turbolinks_track: 'reload'} %>

<%- if Rails.env.test? %>
  <style>
    /* A fixed position notification can intermittently be in the way of click targets.
    Capybara uses `Element.scrollIntoView()` internally, but this only scrolls as far
    as it must, which means a bottom of page notification will obstruct interactions.
    */
    .flash-wrapper { position: static; }

    /* Capybara doesn't know how to use dropdowns */
    .tabs-dropdown ul {
      display: block !important;
      position: static;
    }
  </style>
<%- elsif Rails.env.development? %>
  <style>
    .translation_missing {
      background: white;
      color: #C60F13;
    }
  </style>

  <%= javascript_tag do %>
    Spree.ready(function(){
      $('.translation_missing').tooltip();
    });
  <% end %>
<%- end %>

<%= render "spree/admin/shared/js_locale_data" %>

<%= javascript_tag do -%>
  Spree.api_key = "<%= try_spree_current_user.try(:spree_api_key) %>";
  Spree.env = "<%= Rails.env %>";
<% end %>

<%= yield :head %>

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
solidus_backend-3.1.9 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.1.8 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.0.8 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.0.7 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.11.17 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.1.7 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.11.16 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.0.6 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.1.6 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.11.15 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.11.14 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.0.5 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.1.5 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.11.13 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.0.4 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.1.4 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.11.12 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.0.3 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.1.3 app/views/spree/admin/shared/_head.html.erb
solidus_backend-3.1.2 app/views/spree/admin/shared/_head.html.erb