From 1afdbd92ead12cee5e846c4121bd71f67347793b Mon Sep 17 00:00:00 2001 From: drummer83 Date: Mon, 11 Dec 2023 23:39:55 +0100 Subject: [PATCH] Show Dashboard header in the header area for multi-enterprise users Use correct translation string --- .../admin/overview/multi_enterprise_dashboard.html.haml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/spree/admin/overview/multi_enterprise_dashboard.html.haml b/app/views/spree/admin/overview/multi_enterprise_dashboard.html.haml index 4f72a14f9f..bc997ca13a 100644 --- a/app/views/spree/admin/overview/multi_enterprise_dashboard.html.haml +++ b/app/views/spree/admin/overview/multi_enterprise_dashboard.html.haml @@ -1,11 +1,10 @@ +- content_for :page_title do + = t('dashboard') + - content_for :page_actions do = render 'admin/shared/user_guide_link' - %div{ 'ng-app' => 'ofn.admin' } - %h1{ :style => 'margin-bottom: 30px' } - = t 'dashboard' - - if @enterprises.empty? = render partial: "enterprises"