From 6d50e15d4921f5da13a2a273956b65f5d4877bf7 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 --- .../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 1a9c43bc12a..accaea12873 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 %] -- 2.34.1
Your purchase suggestions + Your purchase suggestions