Bug 24746: Duplicate id in opacheader markup
authorOwen Leonard <oleonard@myacpl.org>
Thu, 27 Feb 2020 02:06:34 +0000 (02:06 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 2 Mar 2020 09:29:05 +0000 (09:29 +0000)
commitc44bfe12087cda33b351b157014e818db2e4613a
treeb4fe64cd04d93d67dc3d3c987f6fcdabaa35ab96
parentbd88b10c6fbf5b6ee19ff71dc8c9777de26d5eb6
Bug 24746: Duplicate id in opacheader markup

This patch removes '<div id="opacheader">' from masthead.inc
because the same markup is generated by koha_news_block.

To reproduce the bug, make sure there is an opacheader news block
defined. Add this to the OPACUserCSS system preference:

View the main page of the OPAC. You should see two blue borders around
the opacheader content.

Apply the patch and reload the OPAC page. There should now be only one
blue border.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tested whith OPACUserCSS -> #opacheader { border: 1px solid blue; padding: 1px; }
don't know the intended value but works :)

Work as described following test plan, no errors.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc