|
Lines 39-45
Link Here
|
| 39 |
[% BLOCK list_permissions %] |
39 |
[% BLOCK list_permissions %] |
| 40 |
<li> |
40 |
<li> |
| 41 |
<label for="allow_changes_from">Allow changes to contents from: </label> |
41 |
<label for="allow_changes_from">Allow changes to contents from: </label> |
| 42 |
<select name="allow_changes_from" id="allow_changes_from" onchange="AdjustRemark()"> |
42 |
<select name="allow_changes_from" id="allow_changes_from"> |
| 43 |
|
43 |
|
| 44 |
[% IF shelf.allow_change_from_owner %]<option value="0">Nobody</option>[% ELSE %]<option value="0" selected="selected">Nobody</option>[% END %] |
44 |
[% IF shelf.allow_change_from_owner %]<option value="0">Nobody</option>[% ELSE %]<option value="0" selected="selected">Nobody</option>[% END %] |
| 45 |
|
45 |
|
|
Lines 241-247
Link Here
|
| 241 |
</div> |
241 |
</div> |
| 242 |
|
242 |
|
| 243 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
243 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
| 244 |
<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | uri %]" class="btn btn-link send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]','win_form','scrollbars=yes,resizable=yes,height=400,width=500,top=50,left=100'); return false; "><i class="fa fa-fw fa-envelope" aria-hidden="true"></i> Send list</a></span> |
244 |
<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | uri %]" class="btn btn-link send"><i class="fa fa-fw fa-envelope" aria-hidden="true"></i> Send list</a></span> |
| 245 |
[% END %] |
245 |
[% END %] |
| 246 |
|
246 |
|
| 247 |
<a class="btn btn-link print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | html %]&sortfield=[% sortfield | html %]&direction=[% direction | uri %]&print=1"><i class="fa fa-fw fa-print" aria-hidden="true"></i> Print list</a> |
247 |
<a class="btn btn-link print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | html %]&sortfield=[% sortfield | html %]&direction=[% direction | uri %]&print=1"><i class="fa fa-fw fa-print" aria-hidden="true"></i> Print list</a> |
|
Lines 567-580
Link Here
|
| 567 |
[% END %] |
567 |
[% END %] |
| 568 |
</div> |
568 |
</div> |
| 569 |
|
569 |
|
| 570 |
[% IF can_manage_shelf %] |
|
|
| 571 |
<form method="post" action="opac-shelves.pl"> |
| 572 |
<input type="hidden" name="op" value="delete" /> |
| 573 |
<input type="hidden" name="referer" value="list" /> |
| 574 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]"/> |
| 575 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
| 576 |
</form> |
| 577 |
[% END %] |
| 578 |
[% END # / IF itemsloop %] |
570 |
[% END # / IF itemsloop %] |
| 579 |
[% END # /IF shelf AND op == 'view' %] |
571 |
[% END # /IF shelf AND op == 'view' %] |
| 580 |
|
572 |
|
|
Lines 630-636
Link Here
|
| 630 |
[% IF Koha.Preference('OpacAllowPublicListCreation') OR public == 1 %] |
622 |
[% IF Koha.Preference('OpacAllowPublicListCreation') OR public == 1 %] |
| 631 |
<li> |
623 |
<li> |
| 632 |
<label for="public">Category:</label> |
624 |
<label for="public">Category:</label> |
| 633 |
<select name="public" id="public" onchange="AdjustRemark()"> |
625 |
<select name="public" id="public"> |
| 634 |
[% IF shelf.is_private %] |
626 |
[% IF shelf.is_private %] |
| 635 |
<option value="0" selected="selected">Private</option> |
627 |
<option value="0" selected="selected">Private</option> |
| 636 |
[% ELSE %] |
628 |
[% ELSE %] |
|
Lines 1079-1084
$(function() {
Link Here
|
| 1079 |
$("#download_list").submit(); |
1071 |
$("#download_list").submit(); |
| 1080 |
}); |
1072 |
}); |
| 1081 |
|
1073 |
|
|
|
1074 |
$("#allow_changes_from, #public").on("change", function(){ |
| 1075 |
AdjustRemark(); |
| 1076 |
}); |
| 1077 |
|
| 1078 |
$(".send").on("click", function(e){ |
| 1079 |
e.preventDefault(); |
| 1080 |
let link = this.href; |
| 1081 |
Dopop( link ); |
| 1082 |
}); |
| 1083 |
|
| 1082 |
}); // document.ready |
1084 |
}); // document.ready |
| 1083 |
|
1085 |
|
| 1084 |
function sortMenu( sorting_form ){ |
1086 |
function sortMenu( sorting_form ){ |
| 1085 |
- |
|
|