Lines 313-320
Link Here
|
313 |
[% SET can_delete_suggestion = 0 %] |
313 |
[% SET can_delete_suggestion = 0 %] |
314 |
<form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" id="search_suggestions_form" method="get"> |
314 |
<form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" id="search_suggestions_form" method="get"> |
315 |
<div class="form-row"> |
315 |
<div class="form-row"> |
316 |
<label for="title_filter">Search for:</label> |
316 |
<div class="col-auto my-1"> |
317 |
<input type="text" name="title_filter" id="title_filter" value="[% title_filter | html %]" /> |
317 |
<label for="title_filter">Search for:</label> |
|
|
318 |
</div> |
319 |
<div class="col-auto my-1"> |
320 |
<input type="text" name="title_filter" id="title_filter" value="[% title_filter | html %]" size="30" class="form-control form-control-sm" /> |
321 |
</div> |
318 |
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %] |
322 |
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %] |
319 |
[% IF loggedinusername %] |
323 |
[% IF loggedinusername %] |
320 |
<div class="col-auto my-1"> |
324 |
<div class="col-auto my-1"> |
Lines 460-480
Link Here
|
460 |
[% ELSE %] |
464 |
[% ELSE %] |
461 |
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) %] |
465 |
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) %] |
462 |
[% IF title_filter %] |
466 |
[% IF title_filter %] |
463 |
<p>There are no pending purchase suggestions matching your search.</p> |
467 |
<div class="alert alert-info" role="alert">There are no pending purchase suggestions matching your search.</div> |
464 |
[% ELSIF loggedinusername AND NOT suggested_by_anyone %] |
468 |
[% ELSIF loggedinusername AND NOT suggested_by_anyone %] |
465 |
<p>You have no pending purchase suggestions. <a href="/cgi-bin/koha/opac-suggestions.pl?suggested_by_anyone=1">View all suggestions</a></p> |
469 |
<div class="alert alert-info" role="alert">You have no pending purchase suggestions. <a href="/cgi-bin/koha/opac-suggestions.pl?suggested_by_anyone=1">View all suggestions</a></div> |
466 |
[% ELSE %] |
470 |
[% ELSE %] |
467 |
<p>There are no pending purchase suggestions.</p> |
471 |
<div class="alert alert-info" role="alert">There are no pending purchase suggestions.</div> |
468 |
[% END %] |
472 |
[% END %] |
469 |
[% ELSE %] |
473 |
[% ELSE %] |
470 |
[% IF ( loggedinusername ) %] |
474 |
[% IF ( loggedinusername ) %] |
471 |
[% IF title_filter %] |
475 |
[% IF title_filter %] |
472 |
<p>There are no pending purchase suggestions matching your search.</p> |
476 |
<div class="alert alert-info" role="alert">There are no pending purchase suggestions matching your search.</div> |
473 |
[% ELSE %] |
477 |
[% ELSE %] |
474 |
<p>You have no pending purchase suggestions.</p> |
478 |
<div class="alert alert-info" role="alert">You have no pending purchase suggestions.</div> |
475 |
[% END %] |
479 |
[% END %] |
476 |
[% ELSE %] |
480 |
[% ELSE %] |
477 |
<p>You are not authorized to see pending purchase suggestions.</p> |
481 |
<div class="alert alert-warning" role="alert">You are not authorized to see pending purchase suggestions.</div> |
478 |
[% END %] |
482 |
[% END %] |
479 |
[% END %] |
483 |
[% END %] |
480 |
[% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %] |
484 |
[% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %] |
481 |
- |
|
|