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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-3 / +2 lines)
Lines 311-317 Link Here
311
311
312
                            [% IF ( deleted ) %]<div class="alert alert-info">The selected suggestions have been deleted.</div>[% END %]
312
                            [% IF ( deleted ) %]<div class="alert alert-info">The selected suggestions have been deleted.</div>[% END %]
313
313
314
                            [% IF suggestions.size > 0 OR title_filter %]
314
                            [% IF (Koha.Preference( 'OPACViewOthersSuggestions' ) || loggedinusername) && (suggestions.size > 0 OR title_filter) %]
315
                                [% SET can_delete_suggestion = 0 %]
315
                                [% SET can_delete_suggestion = 0 %]
316
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" id="search_suggestions_form" method="get">
316
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" id="search_suggestions_form" method="get">
317
                                    <div class="form-row">
317
                                    <div class="form-row">
Lines 321-327 Link Here
321
                                        <div class="col-auto my-1">
321
                                        <div class="col-auto my-1">
322
                                            <input type="text" name="title_filter" id="title_filter" value="[% title_filter | html %]" size="30" class="form-control form-control-sm" />
322
                                            <input type="text" name="title_filter" id="title_filter" value="[% title_filter | html %]" size="30" class="form-control form-control-sm" />
323
                                        </div>
323
                                        </div>
324
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
324
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) %]
325
                                            [% IF loggedinusername %]
325
                                            [% IF loggedinusername %]
326
                                                <div class="col-auto my-1">
326
                                                <div class="col-auto my-1">
327
                                                    <label class="sr-only" for="suggested_by_anyone">Suggested by:</label>
327
                                                    <label class="sr-only" for="suggested_by_anyone">Suggested by:</label>
328
- 

Return to bug 20207