[Koha-bugs] [Bug 28927] Id opacmainuserblock used twice in OPAC
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 31 09:12:03 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28927
--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 124267
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124267&action=edit
Since preference OpacMainUserBlock is an HTML customization, there is an HTML
tags with id="opacmainuserblock" and one with id="OpacMainUserBlock".
I think template block "koha_news_block" should add a class (lowercase) instead
of an id.
It fixes the bug and also it may be used several times in same page in the
future.
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 class="opacmainuserblock" and not id="OpacMainUserBlock"
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list