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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-2 / +2 lines)
Lines 557-565 Link Here
557
                            <ul>
557
                            <ul>
558
                                [% IF suggestion %]
558
                                [% IF suggestion %]
559
                                    [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
559
                                    [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
560
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
560
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add_form">purchase suggestion</a></li>
561
                                    [% ELSIF loggedinusername %]
561
                                    [% ELSIF loggedinusername %]
562
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
562
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add_form">purchase suggestion</a></li>
563
                                    [% END %]
563
                                    [% END %]
564
                                [% END %]
564
                                [% END %]
565
                                [% IF Koha.Preference( 'ILLModule' ) == 1 && loggedinusername %]
565
                                [% IF Koha.Preference( 'ILLModule' ) == 1 && loggedinusername %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-3 / +2 lines)
Lines 382-388 Link Here
382
                                        [% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
382
                                        [% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
383
                                                <p class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]).</br>Once the library has processed those suggestions you will be able to place more.</p>
383
                                                <p class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]).</br>Once the library has processed those suggestions you will be able to place more.</p>
384
                                        [% ELSE %]
384
                                        [% ELSE %]
385
                                                <a class="btn btn-link new" href="/cgi-bin/koha/opac-suggestions.pl?op=add"><i class="fa fa-plus"  aria-hidden="true"></i> New purchase suggestion</a>
385
                                                <a class="btn btn-link new" href="/cgi-bin/koha/opac-suggestions.pl?op=add_form"><i class="fa fa-plus"  aria-hidden="true"></i> New purchase suggestion</a>
386
                                        [% END %]
386
                                        [% END %]
387
                                        </div>
387
                                        </div>
388
                                    [% END %]
388
                                    [% END %]
Lines 521-527 Link Here
521
                                    [% ELSIF ( Koha.Preference('MaxOpenSuggestions') != ''  && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
521
                                    [% ELSIF ( Koha.Preference('MaxOpenSuggestions') != ''  && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
522
                                        <p class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time.</br>Once the library has processed those suggestions you will be able to place more.</p>
522
                                        <p class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time.</br>Once the library has processed those suggestions you will be able to place more.</p>
523
                                    [% ELSE %]
523
                                    [% ELSE %]
524
                                        <p><a class="btn btn-link new" href="/cgi-bin/koha/opac-suggestions.pl?op=add"><i class="fa fa-plus" aria-hidden="true"></i> New purchase suggestion</a></p>
524
                                        <p><a class="btn btn-link new" href="/cgi-bin/koha/opac-suggestions.pl?op=add_form"><i class="fa fa-plus" aria-hidden="true"></i> New purchase suggestion</a></p>
525
                                    [% END %]
525
                                    [% END %]
526
                                [% END %]
526
                                [% END %]
527
                            [% END # / IF suggestions.size %]
527
                            [% END # / IF suggestions.size %]
528
- 

Return to bug 36274