For the purposes of trouble-shooting, it would be helpful to be able to do a a browser search from with 'view page source' to quickly determine the name of the template being used. I would suggest adding the file path, starting with either 'intranet-tmpl' or 'opac-tmpl', e.g. <-- TEMPLATE FILE NAME: opac-tmpl/bootstrap/en/modules/opac-results.tt -->
Created attachment 32545 [details] [review] 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 -->
Tested on sandbox, works fine, signing off. :)
Created attachment 32820 [details] [review] [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>
Patch pushed to master. Nice and simple enhancement Marc!