https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39671 Bug ID: 39671 Summary: Let patron check their notifications Change sponsored?: --- Product: Koha Version: 24.05 Hardware: All OS: All Status: NEW Severity: new feature Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: cornejo.alvaro@gmail.com QA Contact: testopia@bugs.koha-community.org Created attachment 181139 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181139&action=edit Main access to new notices inbox Currently Patrons does not have a way to check the notifications they have received from the notification system. This new feature will allow them, once logged into their account, to see their notices. this very basic code -I´m not a programmer at all- provide a basic "read-only inbox" Two files are needed: /usr/share/koha/opac/cgi-bin/opac/opac-acc-notices.pl /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/opac-acc-notices.tt And the following JS /* OPAC-NOTICES */ if ($('#usermenu').length) { var myLang = $('html').attr('lang'); let eborrowernumber = $('.loggedinusername').attr('data-borrowernumber'); if (myLang == "en") { // SIN borrower si plantilla opac-xxx.pl // $('#menu ul').prepend('<li><a href="/cgi-bin/koha/opac-notices.pl?borrowernumber=' + eborrowernumber + '">Notifications PREP</a></li>'); $('#menu ul').append('<li><a href="/cgi-bin/koha/opac-acc-notices.pl">Notifications</a></li>'); } /*END IF mylang==en*/ if (myLang == "es-ES") { // $('#menu ul').prepend('<li><a href="/cgi-bin/koha/opac-notices.pl?borrowernumber=' + eborrowernumber + '">Notificaciones PREP</a></li>'); $('#menu ul').append('<li><a href="/cgi-bin/koha/opac-acc-notices.pl">Notificaciones</a></li>'); } /*END IF mylang==es-ES*/ } /*END IF $#usermenu...*/ /* end OPAC-NOTICES */ URL that will be called: https://MYLIBRARY.COM/cgi-bin/koha/opac-account-notices.pl -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.