Bugzilla – Attachment 32820 Details for
Bug 13112
Add name of template file in html comment for each '.tt' file.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13112 - Add name of template file in html comment for each '.tt' file.
PASSED-QA-Bug-13112---Add-name-of-template-file-in.patch (text/plain), 1.83 KB, created by
Katrin Fischer
on 2014-10-28 07:04:49 UTC
(
hide
)
Description:
[PASSED QA] Bug 13112 - Add name of template file in html comment for each '.tt' file.
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-10-28 07:04:49 UTC
Size:
1.83 KB
patch
obsolete
>From 288d2b921b1416f98524d952d1ec8a4da91a0d48 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 20 Oct 2014 21:59:14 +0200 >Subject: [PATCH] [PASSED QA] Bug 13112 - Add name of template file in html > comment for each '.tt' file. > >This patch adds the name of the .tt file as a HTML comment to OPAC and Staff client pages. > >To test: >Apply patch >Open pages in OPAC and Staff client. >Make sure that a comment similar to the following appears in the source code: ><!-- TEMPLATE FILE: intranet-main.tt --> > >Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc >index 5340b55..23449a5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc >@@ -1,3 +1,4 @@ > <!DOCTYPE html> >+<!-- TEMPLATE FILE: [% template.name.split('/').last %] --> > [% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %] > <head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc >index 683d859..b288c18 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc >@@ -1,4 +1,5 @@ > <!DOCTYPE html> >+<!-- TEMPLATE FILE: [% template.name.split('/').last %] --> > [% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]" class="no-js">[% ELSE %]<html lang="[% lang %]" class="no-js">[% END %] > <head> > <title> >-- >1.9.1
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 13112
:
32545
| 32820