RecordedBooks search for '[% q | html %]'
- [% UNLESS ( loggedinusername ) %]
+ [% UNLESS ( logged_in_user ) %]
Sign in to view availability and checkout items or place holds
[% 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('
');
+ }
+
} );
}
@@ -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('
');
- }
[% ELSE %]
search( 1 );
[% END %]
--