@@ -, +, @@ suggestions the search bar. - Logged in user, OPACViewOthersSuggestions off - No logged in user, OPACViewOthersSuggestions on - No logged in user, OPACViewOthersSuggestions off --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 6 ++---- .../opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 18 +++++++++++++++--- 2 files changed, 17 insertions(+), 7 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -309,10 +309,8 @@ [% IF Koha.Preference( 'OpacTopissue' ) == 1 %]
You are not authorized to see pending purchase suggestions.
+ [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) %] + [% IF ( loggedinusername ) %] + [% IF ( suggested_by_anyone ) %] +There are no pending purchase suggestions.
+ [% ELSE %] +You have no pending purchase suggestions. View all suggestions
+ [% END %] + [% ELSE %] +There are no pending purchase suggestions.
+ [% END %] [% ELSE %] -There are no pending purchase suggestions.
+ [% IF ( loggedinusername ) %] +You have no pending purchase suggestions.
+ [% ELSE %] +You are not authorized to see pending purchase suggestions.
+ [% END %] [% END %] [% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %] [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %] --