mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Move admin/shared/_head/replace_spree_title deface to head view
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
/ replace_contents "title"
|
||||
|
||||
- if content_for? :html_title
|
||||
= yield :html_title
|
||||
- else
|
||||
= t(controller.controller_name, :default => controller.controller_name.titleize)
|
||||
= " - OFN #{t(:administration)}"
|
||||
@@ -3,8 +3,11 @@
|
||||
= csrf_meta_tags
|
||||
|
||||
%title
|
||||
= "Spree #{Spree.t('administration')}: "
|
||||
= Spree.t(controller.controller_name, :default => controller.controller_name.titleize)
|
||||
- if content_for? :html_title
|
||||
= yield :html_title
|
||||
- else
|
||||
= t(controller.controller_name, :default => controller.controller_name.titleize)
|
||||
= " - OFN #{t(:administration)}"
|
||||
|
||||
%link{:href => "//fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600&subset=latin,cyrillic,greek,vietnamese", :rel => "stylesheet", :type => "text/css"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user