From 767336916b599aaca0f26a55f58b13b0fb8ecc4a Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Thu, 8 Mar 2012 15:17:52 +1300 Subject: [PATCH] ENHANCEMENT SSF-25 : use a title if users/devs has set one instead using a hard-coded one --- admin/templates/Includes/ModelAdmin_Content.ss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/admin/templates/Includes/ModelAdmin_Content.ss b/admin/templates/Includes/ModelAdmin_Content.ss index 43f4d5e71..caac9092b 100644 --- a/admin/templates/Includes/ModelAdmin_Content.ss +++ b/admin/templates/Includes/ModelAdmin_Content.ss @@ -1,9 +1,13 @@
-
-

<% _t('ModelAdmin.Title', 'My Model') %>

-
+

+ <% if SectionTitle %> + $SectionTitle + <% else %> + <% _t('ModelAdmin.Title', 'Data Models') %> + <% end_if %> +

$Tools