Sha256: dd4b07cef45da1b77fa1c2af7ae32426139d545c4c16e927556c948d53e0949b

Contents?: true

Size: 1.24 KB

Versions: 7

Compression:

Stored size: 1.24 KB

Contents

<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />

<%= csrf_meta_tags %>

<title>
  <% if content_for? :title %>
    <%= yield :title %>
  <% else %>
    <%= "Solidus #{Spree.t('administration')}: " %>
    <%= Spree.t(controller.controller_name, :default => controller.controller_name.titleize) %>
  <% end %>
</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' %>

<%- 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; }
  </style>
<%- end %>


<%= javascript_include_tag 'spree/backend/all' %>

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

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

<%= yield :head %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_backend-1.2.3 app/views/spree/admin/shared/_head.html.erb
solidus_backend-1.2.2 app/views/spree/admin/shared/_head.html.erb
solidus_backend-1.2.1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-1.2.0 app/views/spree/admin/shared/_head.html.erb
solidus_backend-1.2.0.rc2 app/views/spree/admin/shared/_head.html.erb
solidus_backend-1.2.0.rc1 app/views/spree/admin/shared/_head.html.erb
solidus_backend-1.2.0.beta1 app/views/spree/admin/shared/_head.html.erb