[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 16:56:48 CEST 2021


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #125125|0                           |1
        is obsolete|                            |
 Attachment #125126|0                           |1
        is obsolete|                            |

--- Comment #17 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 125137
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125137&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

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

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list