View | Details | Raw Unified | Return to bug 27740
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-4 / +3 lines)
Lines 41-48 Link Here
41
                <div class="col-md-12 col-lg-10 order-1">
41
                <div class="col-md-12 col-lg-10 order-1">
42
42
43
                    <div id="usersuggestions" class="maincontent">
43
                    <div id="usersuggestions" class="maincontent">
44
                        <h1>Your purchase suggestions</h1>
45
                        [% IF ( op_add ) %]
44
                        [% IF ( op_add ) %]
45
                            <h1>Your purchase suggestions</h1>
46
                            [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]
46
                            [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]
47
                                    <h2 class="TooManySuggestions">You cannot place any more suggestions</h2>
47
                                    <h2 class="TooManySuggestions">You cannot place any more suggestions</h2>
48
                                    <p class="TooManySuggestionsText">You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.</p>
48
                                    <p class="TooManySuggestionsText">You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.</p>
Lines 261-267 Link Here
261
                        [% END #  IF op_add %]
261
                        [% END #  IF op_add %]
262
262
263
                        [% IF ( op_else ) %]
263
                        [% IF ( op_else ) %]
264
                            <h2>
264
                            <h1>
265
                                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
265
                                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
266
                                    Purchase suggestions
266
                                    Purchase suggestions
267
                                [% ELSE %]
267
                                [% ELSE %]
Lines 271-277 Link Here
271
                                        Purchase suggestions
271
                                        Purchase suggestions
272
                                    [% END %]
272
                                    [% END %]
273
                                [% END %]
273
                                [% END %]
274
                            </h2>
274
                            </h1>
275
                            [% FOR m IN messages %]
275
                            [% FOR m IN messages %]
276
                                <div class="alert alert-[% m.type | html %]">
276
                                <div class="alert alert-[% m.type | html %]">
277
                                    [% SWITCH m.code %]
277
                                    [% SWITCH m.code %]
278
- 

Return to bug 27740