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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-6 / +6 lines)
Lines 599-612 Link Here
599
599
600
                    [% END # / IF total %]
600
                    [% END # / IF total %]
601
601
602
                    [% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername )   %]
602
                    [%# Display "Not finding what you're looking for" for suggestion or ILL %]
603
                    [% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername ) || ( Koha.Preference( 'ILLModule' ) == 1 && loggedinusername ) %]
603
                        <div class="suggestion">
604
                        <div class="suggestion">
604
                            Not finding what you're looking for?
605
                            Not finding what you're looking for?
605
                            <ul>
606
                            <ul>
606
                                [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
607
                                [% IF Koha.Preference( 'suggestion' ) == 1 %]
607
                                    <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
608
                                    [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
608
                                [% ELSE %]
609
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
609
                                    [% IF ( loggedinusername ) %]
610
                                    [% ELSIF loggedinusername %]
610
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
611
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
611
                                    [% END %]
612
                                    [% END %]
612
                                [% END %]
613
                                [% END %]
613
- 

Return to bug 21270