[Bug 13112] New: Feature Request -- Add name of template file in html comment for each '.tt' file.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13112 Bug ID: 13112 Summary: Feature Request -- Add name of template file in html comment for each '.tt' file. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: barton@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org 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 --> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13112 --- Comment #1 from Marc Véron <veron@veron.ch> --- Created attachment 32545 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32545&action=edit 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 --> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13112 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff CC| |veron@veron.ch Patch complexity|--- |Trivial patch Assignee|oleonard@myacpl.org |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13112 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Feature Request -- Add name |Add name of template file |of template file in html |in html comment for each |comment for each '.tt' |'.tt' file. |file. | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13112 Aleisha Amohia <aleishaamohia@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |aleishaamohia@hotmail.com --- Comment #2 from Aleisha Amohia <aleishaamohia@hotmail.com> --- Tested on sandbox, works fine, signing off. :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13112 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13112 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #32545|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 32820 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32820&action=edit [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> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13112 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |tomascohen@gmail.com --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patch pushed to master. Nice and simple enhancement Marc! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org