Bugzilla – Attachment 10448 Details for
Bug 8288
showmarc.tt should not include full doc-head-close.inc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8288 - showmarc.tt should not include full doc-head-close.inc
Bug-8288---showmarctt-should-not-include-full-doc-.patch (text/plain), 1.85 KB, created by
Chris Cormack
on 2012-06-24 07:34:00 UTC
(
hide
)
Description:
Bug 8288 - showmarc.tt should not include full doc-head-close.inc
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-06-24 07:34:00 UTC
Size:
1.85 KB
patch
obsolete
>From e6256ca32f642c0b1ab783c0afff363332cc7f22 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <chris@bigballofwax.co.nz> >--- > 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 05467e8..932a50a 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' %] > <title>Koha › Cataloging › MARC import</title> >-[% INCLUDE 'doc-head-close.inc' %] >+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > </head> > <body id="catalog_showmarc" class="catalog"> > <div id="main"> >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 2a30906..3a5a9f8 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 >+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > </head> > <body id="opac-showmarc"> > <div id="main"> >-- >1.7.10
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8288
:
10438
| 10448