Add deface overrides from spree_auth_devise for the users menu tab, the admin top bar and the shared login bar (maybe dead code this last one)

This commit is contained in:
luisramos0
2019-07-06 11:28:31 +01:00
parent 1a64a737d4
commit f557996817
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
Deface::Override.new(:virtual_path => "spree/layouts/admin",
:name => "user_admin_tabs",
:insert_bottom => "[data-hook='admin_tabs'], #admin_tabs[data-hook]",
:partial => "spree/admin/users_tab",
:disabled => false,
:original => '031652cf5a054796022506622082ab6d2693699f')

View File

@@ -0,0 +1,5 @@
Deface::Override.new(:virtual_path => "spree/layouts/admin",
:name => "auth_admin_login_navigation_bar",
:insert_top => "[data-hook='admin_login_navigation_bar'], #admin_login_navigation_bar[data-hook]",
:partial => "spree/layouts/admin/login_nav",
:original => '841227d0aedf7909d62237d8778df99100087715')

View File

@@ -0,0 +1,6 @@
Deface::Override.new(:virtual_path => "spree/shared/_nav_bar",
:name => "auth_shared_login_bar",
:insert_before => "li#search-bar",
:partial => "spree/shared/login_bar",
:disabled => false,
:original => 'eb3fa668cd98b6a1c75c36420ef1b238a1fc55ac')