[Koha-bugs] [Bug 28927] Id opacmainuserblock used twice in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 22 08:27:03 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28927

Fridolin Somers <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #124793|0                           |1
        is obsolete|                            |

--- Comment #14 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 125125
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125125&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list