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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Marc Véron 2014-10-20 21:59:14 +02:00 committed by Tomas Cohen Arazi
parent da270d9c9b
commit 8523a01f47
2 changed files with 2 additions and 0 deletions

View File

@ -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>

View File

@ -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>