From a070bde70686bcf957b96153408a32dbaa04164a Mon Sep 17 00:00:00 2001 From: Simon Flack Date: Thu, 21 Oct 2004 12:12:08 +0000 Subject: [PATCH] fixed titles git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@247 48953598-375a-da11-a14b-00016c27c3ee --- templates/factory/edit | 2 ++ templates/factory/list | 5 +++++ templates/factory/title | 6 ------ 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/templates/factory/edit b/templates/factory/edit index 714cb87..5feb34e 100644 --- a/templates/factory/edit +++ b/templates/factory/edit @@ -10,6 +10,8 @@ form similar to L but with the current values filled in. #%] [% PROCESS macros %] [% INCLUDE header %] +[% INCLUDE title %] +
Edit a [% classmetadata.moniker %]
[% FOR item = objects; %]
diff --git a/templates/factory/list b/templates/factory/list index fab90b8..b8f4fb8 100644 --- a/templates/factory/list +++ b/templates/factory/list @@ -1,6 +1,11 @@ [% PROCESS macros %] [% INCLUDE header %] [% INCLUDE title %] +[% IF search %] +
Search results
+[% ELSE %] +
Listing of all [% classmetadata.plural %]
+[% END %] [% INCLUDE navbar %]
diff --git a/templates/factory/title b/templates/factory/title index 052ecf5..401f0a3 100644 --- a/templates/factory/title +++ b/templates/factory/title @@ -1,7 +1 @@ [% config.application_name %] -[% IF search %] -
Search results
-[% ELSE %] -
Listing of all [% classmetadata.plural %]
-[% END %] - -- 2.39.2