mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Bring spree/admin/shared/head partial from spree_backend
This commit is contained in:
25
app/views/spree/admin/shared/_head.html.erb
Normal file
25
app/views/spree/admin/shared/_head.html.erb
Normal file
@@ -0,0 +1,25 @@
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
|
||||
<%= csrf_meta_tags %>
|
||||
|
||||
<title>
|
||||
<%= "Spree #{Spree.t('administration')}: " %>
|
||||
<%= Spree.t(controller.controller_name, :default => controller.controller_name.titleize) %>
|
||||
</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 'admin/all' %>
|
||||
|
||||
<%= javascript_include_tag 'admin/all' %>
|
||||
|
||||
<%= render "spree/admin/shared/translations" %>
|
||||
<%= render "spree/admin/shared/routes" %>
|
||||
|
||||
<%= javascript_tag do -%>
|
||||
jQuery.alerts.dialogClass = 'spree';
|
||||
<%== "var AUTH_TOKEN = #{form_authenticity_token.inspect};" %>
|
||||
<% end -%>
|
||||
|
||||
<%= yield :head %>
|
||||
Reference in New Issue
Block a user