[Koha-bugs] [Bug 30265] Hide 'Log into your account' in OPAC authentication page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 16 21:50:26 CET 2022


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

--- Comment #12 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Hi,

I reopen because I found a JS in actual code :

In opac-auth.tt
<script>
    // Hide circular 'Log in to Your Account' link in opac-auth.pl
    $(document).ready(function() {
        if ( $("#auth" ) ) { $("#members ul li a").hide(); }
    });
</script>

https://git.koha-community.org/Koha-community/Koha/src/commit/3dcdd6db788b2c23320ca24a900d37d0454dbbec/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt#L284

It does actually not work because the id="members" is now on ul itself.

If we decide to keep the actual behavior we should remove this JS.

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


More information about the Koha-bugs mailing list