app/views/spree/admin/shared/_header.html.erb in solidus_backend-1.3.2 vs app/views/spree/admin/shared/_header.html.erb in solidus_backend-1.4.0.beta1
- old
+ new
@@ -1,13 +1,9 @@
-<% if content_for?(:page_title) || content_for?(:page_actions) %>
- <div id="content-header" class="main-header" data-hook>
- <% if content_for?(:page_title) %>
- <h1 class="page-title"><%= yield :page_title %></h1>
- <% end %>
+<div id="content-header" class="main-header" data-hook>
+ <%= render_admin_breadcrumbs %>
- <% if content_for?(:page_actions) %>
- <ul class="header-actions page-actions inline-menu" data-hook="toolbar">
- <%= yield :page_actions %>
- </ul>
- <% end %>
- </div>
-<% end %>
+ <% if content_for?(:page_actions) %>
+ <ul class="header-actions page-actions inline-menu" data-hook="toolbar">
+ <%= yield :page_actions %>
+ </ul>
+ <% end %>
+</div>