From 22fe915f4671475c94bcde8336a57cb71575f4a0 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 15 Apr 2021 15:38:16 +0100 Subject: [PATCH] Bug 27740: (QA follow-up) Fix 'Your purchase suggestions' On the purchase suggestions page you could end up with two "Your purchase suggestions" headings, one as an h1 and one as an h2.. Test plan 1/ Add at least one purchage suggestion to a patron 2/ Navigate to 'Purchase suggestions' 3/ Note that just one 'Your purchase suggestsions' heading appears with a top level '1'. Signed-off-by: Martin Renvoize Signed-off-by: Wainui Witika-Park --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 6 +++--- 1 file changed, 3 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 1ea372eadc..6ab76ff6af 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -41,8 +41,8 @@
-

Your purchase suggestions

[% IF ( op_add ) %] +

Your purchase suggestions

[% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]

You cannot place any more suggestions

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

@@ -261,7 +261,7 @@ [% END # IF op_add %] [% IF ( op_else ) %] -

+

[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %] Purchase suggestions [% ELSE %] @@ -271,7 +271,7 @@ Purchase suggestions [% END %] [% END %] -

+ [% FOR m IN messages %]
[% SWITCH m.code %] -- 2.11.0