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>
This commit is contained in:
parent
89e2aa5a9b
commit
ae1511debb
2 changed files with 2 additions and 6 deletions
|
@ -172,9 +172,7 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF ( OpacMainUserBlock ) %]
|
[% IF ( OpacMainUserBlock ) %]
|
||||||
<div id="opacmainuserblock">
|
|
||||||
[% PROCESS koha_news_block news => OpacMainUserBlock %]
|
[% PROCESS koha_news_block news => OpacMainUserBlock %]
|
||||||
</div>
|
|
||||||
[% END %]
|
[% END %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
|
|
@ -106,9 +106,7 @@
|
||||||
[% END # /casAuthentication %]
|
[% END # /casAuthentication %]
|
||||||
[% END # / loggedinusername %]
|
[% END # / loggedinusername %]
|
||||||
[% IF ( OpacNavRight ) %]
|
[% IF ( OpacNavRight ) %]
|
||||||
<div id="opacnavright">
|
|
||||||
[% PROCESS koha_news_block news => OpacNavRight %]
|
[% PROCESS koha_news_block news => OpacNavRight %]
|
||||||
</div>
|
|
||||||
[% END # /OpacNavRight %]
|
[% END # /OpacNavRight %]
|
||||||
</div> <!-- / .col-lg-3 -->
|
</div> <!-- / .col-lg-3 -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue