Sha256: b4fd0bd1e2c9e6ef3d2adc11b2978a3545abf348242810f2ce06711571c3f9a8

Contents?: true

Size: 1.52 KB

Versions: 19

Compression:

Stored size: 1.52 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>

<!-- Get "Open Sans" font from Google -->
<link href='//fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600&subset=latin,cyrillic,greek,vietnamese' rel='stylesheet' type='text/css'>

<%= 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

19 entries across 19 versions & 1 rubygems

Version Path
solidus_backend-2.6.6 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.7.4 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.7.3 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.6.5 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.5.2 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.7.2 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.6.4 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.5.1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.6.3 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.7.1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.6.2 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.7.0 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.6.1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.6.0 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.6.0.rc1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.5.0 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.5.0.rc1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.5.0.beta2 app/views/spree/admin/shared/_head.html.erb
solidus_backend-2.5.0.beta1 app/views/spree/admin/shared/_head.html.erb