]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 9 Oct 2021 02:20:59 +0000 (16:20 -1000)
commit516b4536d73027b9ff808915b217a43e50d6c51a
tree68e3c568f7de0b11556c2d995f1a002074ae2c04
parent2c1a83fd58f7e293764a2c282160122c245af816
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>
(cherry picked from commit ae1511debb4737b5242ed99e0601f2101bb9ef4d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt