Move admin/shared/_head/replace_spree_title deface to head view

This commit is contained in:
luisramos0
2019-07-16 15:44:00 +01:00
parent 5ccadc1f7d
commit 9765b1e908
2 changed files with 5 additions and 9 deletions

View File

@@ -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)}"

View File

@@ -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"}