Lines 256-261
Link Here
|
256 |
[% IF ( deleted ) %]<div class="alert alert-info">The selected suggestions have been deleted.</div>[% END %] |
256 |
[% IF ( deleted ) %]<div class="alert alert-info">The selected suggestions have been deleted.</div>[% END %] |
257 |
|
257 |
|
258 |
[% IF ( suggestions_loop ) %] |
258 |
[% IF ( suggestions_loop ) %] |
|
|
259 |
[% SET can_delete_suggestion = 0 %] |
259 |
<form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" method="get"> |
260 |
<form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" method="get"> |
260 |
<fieldset> |
261 |
<fieldset> |
261 |
<label for="title">Search for:</label> |
262 |
<label for="title">Search for:</label> |
Lines 321-326
Link Here
|
321 |
[% IF ( loggedinusername ) %] |
322 |
[% IF ( loggedinusername ) %] |
322 |
<td> |
323 |
<td> |
323 |
[% IF ( suggestions_loo.showcheckbox ) %] |
324 |
[% IF ( suggestions_loo.showcheckbox ) %] |
|
|
325 |
[% SET can_delete_suggestion = 1 %] |
324 |
<input type="checkbox" class="cb" id="id[% suggestions_loo.suggestionid | html %]" name="delete_field" data-title="[% suggestions_loo.title | html %]" value="[% suggestions_loo.suggestionid | html %]" /> |
326 |
<input type="checkbox" class="cb" id="id[% suggestions_loo.suggestionid | html %]" name="delete_field" data-title="[% suggestions_loo.title | html %]" value="[% suggestions_loo.suggestionid | html %]" /> |
325 |
[% END %] |
327 |
[% END %] |
326 |
</td> |
328 |
</td> |
Lines 386-392
Link Here
|
386 |
</tbody> |
388 |
</tbody> |
387 |
</table> |
389 |
</table> |
388 |
|
390 |
|
389 |
[% IF ( loggedinusername ) %] |
391 |
[% IF ( loggedinusername && can_delete_suggestion ) %] |
390 |
<fieldset class="action"> |
392 |
<fieldset class="action"> |
391 |
<input type="submit" class="btn btn-danger removeitems" value="Delete selected" /> |
393 |
<input type="submit" class="btn btn-danger removeitems" value="Delete selected" /> |
392 |
</fieldset> |
394 |
</fieldset> |
393 |
- |
|
|