From 1165dea1a8919eefd76b20acd61c86b2ec9d8475 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 2 Nov 2019 01:58:00 +0000 Subject: [PATCH] Bug 23952: Fix body tag on OPAC course details page MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The id was not changed, when the page was added and remained opac-main. The patch changes it to opac-course-details so the page has its own unique id. To test: - Add a course reserve to your installation - Go to the course reserves page in the OPAC - Click on the course to see its details - Look at the source code, the tag should show: Without patch: opac-main with patch applied: opac-course-details Signed-off-by: Séverine QUEUNE Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize (cherry picked from commit ccf9eaf62fc05abe318fe4652025ac3979c50c19) Signed-off-by: Hayley Mapley (cherry picked from commit 81f4bb3d9cf49d060d4078aca439a3fbc9d3a429) --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt index 6e2c2ef4fc..b7d43fba22 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt @@ -13,7 +13,7 @@ [% END %] -[% INCLUDE 'bodytag.inc' bodyid='opac-main' %] +[% INCLUDE 'bodytag.inc' bodyid='opac-course-details' %] [% INCLUDE 'masthead.inc' %]
-- 2.39.5