diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 3da4d6b296..e341ad3db8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -310,10 +310,8 @@ [% IF Koha.Preference( 'OpacCloud' ) == 1 %]
  • Subject cloud
  • [% END %] [% IF Koha.Preference( 'OpacTopissue' ) == 1 %]
  • Most popular
  • [% END %] [% IF Koha.Preference( 'suggestion' ) == 1 %] - [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %] -
  • Purchase suggestions
  • - [% ELSIF ( ( Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 ) ) %] -
  • Purchase suggestions
  • + [% IF Koha.Preference( 'AnonSuggestions' ) == 1 || Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %] +
  • Purchase suggestions
  • [% END %] [% END %] [% Koha.Preference('OpacMoreSearches') | $raw %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index 2da7660e84..1e59974a07 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -357,10 +357,22 @@ [% END %] [% ELSE %] - [% UNLESS Koha.Preference( 'OPACViewOthersSuggestions' ) or loggedinusername %] -

    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('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]