]> git.koha-community.org Git - koha.git/commit
Bug 28927: Fix id opacmainuserblock used twice in OPAC
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 31 Aug 2021 06:59:27 +0000 (20:59 -1000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Oct 2021 10:59:52 +0000 (06:59 -0400)
commitae1511debb4737b5242ed99e0601f2101bb9ef4d
treeee4567c2dcba13641ba29043a1543cba51c03a90
parent89e2aa5a9bf5144672f38214869a8161561d410f
Bug 28927: Fix id opacmainuserblock used twice in OPAC

Since preference OpacMainUserBlock is now an HTML customization,
there is actually an HTML tags with id="opacmainuserblock" and one with id="OpacMainUserBlock".
Same for OPACNavRight in opac-registration-confirmation.tt

This patch removed id from page to keep the one comming from HTML customization include.

Test plan :
1) Create an HTML customization for OpacMainUserBlock with some text
2) Go to OPAC main page
3) Check HTML code of the page
4) Check you see id="OpacMainUserBlock" once and not id="opacmainuserblock"
5) Same for id="opacnavright" in opac-registration-confirmation.tt

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt