From cf06cab533f444ea47c242abf03cd810396e4203 Mon Sep 17 00:00:00 2001 From: summerscope Date: Thu, 23 Oct 2014 17:23:58 +1100 Subject: [PATCH] Tweak header to be consistent with other admin pages --- .../overview/single_enterprise_dashboard.html.haml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml b/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml index 2ab69e8557..b24d574c24 100644 --- a/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml +++ b/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml @@ -1,7 +1,12 @@ -#enterprise - %h1= @enterprise.name - %h2= enterprise_type_name(@enterprise) +- content_for :page_title do + %h1 + = @enterprise.name + %span.small + ( + = enterprise_type_name(@enterprise) + ) +- content_for :page_actions do -# We need an action to render the welcome template, that this button can link to %button Change type