From ba8ce32ab05e3520040f426b8f6206c336c20758 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Jun 2012 11:52:32 -0400 Subject: [PATCH] Bug 8288 - showmarc.tt should not include full doc-head-close.inc showmarc.tt and opac-showmarc.tt are used to load a plain view of a MARC record and thus do not need the full set of page assets loaded with other pages (CSS and JavaScript). Removing the standard doc-head-close include will reduce the load time of these pages. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt index 05467e8a37..932a50a307 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt @@ -1,6 +1,6 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Cataloging › MARC import -[% INCLUDE 'doc-head-close.inc' %] +
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt index 2a30906c18..3a5a9f8628 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt @@ -1,4 +1,5 @@ -[% INCLUDE 'doc-head-open.inc' %]MARC view[% INCLUDE 'doc-head-close.inc' %] +[% INCLUDE 'doc-head-open.inc' %]MARC view +
-- 2.39.5