From 8b17a2d9bdc2a78a5196cbef87f00f8403241eb9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 9 Jan 2025 13:39:19 +0000 Subject: [PATCH] Bug 38713: Fix opac-suggestions.tt Signed-off-by: Phil Ringnalda Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer --- .../opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 1a9c43bc12..accaea1287 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -379,7 +379,8 @@ [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]

You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.

[% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %] -

You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]).
Once the library has processed those suggestions you will be able to place more.

+

You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]).

+

Once the library has processed those suggestions you will be able to place more.

[% ELSE %] New purchase suggestion [% END %] @@ -402,7 +403,7 @@ [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 || loggedinusername %] - [% IF ( loggedinusername ) %][% END %] @@ -514,7 +515,8 @@ [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]

You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.

[% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %] -

You have reached your limit for suggestions you can place at this time.
Once the library has processed those suggestions you will be able to place more.

+

You have reached your limit for suggestions you can place at this time.

+

Once the library has processed those suggestions you will be able to place more.

[% ELSE %]

New purchase suggestion

[% END %]
Your purchase suggestions + Your purchase suggestions