Sha256: 4e4bec71f95ba72aa0fffc8bf80e126bbd255ccbc0eafc6bcec8d8f9ac261482

Contents?: true

Size: 1.55 KB

Versions: 8

Compression:

Stored size: 1.55 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::Config.theme_path(session[:admin_light_theme]), media: '(prefers-color-scheme: light)', data: {turbolinks_track: 'reload'} %>
<%= stylesheet_link_tag Spree::Backend::Config.theme_path(session[:admin_dark_theme]), media: '(prefers-color-scheme: dark)', 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>

  <script>
    Spree.ready(function(){
      $('.translation_missing').tooltip();
    });
  </script>
<%- end %>

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

<script>
  Spree.api_key = "<%= spree_current_user.try(:spree_api_key) %>";
  Spree.env = "<%= Rails.env %>";
</script>

<%= yield :head %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
solidus_backend-4.4.2 app/views/spree/admin/shared/_head.html.erb
solidus_backend-4.4.1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-4.4.0 app/views/spree/admin/shared/_head.html.erb
solidus_backend-4.3.4 app/views/spree/admin/shared/_head.html.erb
solidus_backend-4.3.3 app/views/spree/admin/shared/_head.html.erb
solidus_backend-4.3.2 app/views/spree/admin/shared/_head.html.erb
solidus_backend-4.3.1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-4.3.0 app/views/spree/admin/shared/_head.html.erb