@@ -, +, @@ --- .../bootstrap/en/modules/opac-recordedbooks-search.tt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recordedbooks-search.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recordedbooks-search.tt @@ -26,7 +26,7 @@

RecordedBooks search for '[% q | html %]'

- [% UNLESS ( loggedinusername ) %] + [% UNLESS ( logged_in_user ) %] [% END %] @@ -140,6 +140,10 @@ function search( page ) { if ( pages.length > 1 ) $( '#top-pages, #bottom-pages' ).find( '.pagination' ).html( ''); + if( KOHA.RecordedBooks.is_identified() == false ){ + $("#breadcrumbs").before('

To see availability you must register for RecordedBooks using your cardnumber and the email associated with your Koha account

'); + } + } ); } @@ -153,13 +157,10 @@ $( document ).ready( function() { return false; }); - [% IF ( loggedinusername ) %] + [% IF ( logged_in_user ) %] KOHA.RecordedBooks.with_account_details("#breadcrumbs", function() { search( 1 ); }); - if( KOHA.RecordedBooks.is_identified() == 'false' ){ - $("#breadcrumbs").before('

To see availability you must register for RecordedBooks using your cardnumber and the email associated with your Koha account

'); - } [% ELSE %] search( 1 ); [% END %] --