Lines 5-11
Link Here
|
5 |
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %] |
5 |
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %] |
6 |
|
6 |
|
7 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF op == 'view' %]Contents of [% shelf.shelfname |html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %] |
8 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF op == 'view' %]Contents of [% shelf.shelfname %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %] |
9 |
[% BLOCK cssinclude %][% END %] |
9 |
[% BLOCK cssinclude %][% END %] |
10 |
</head> |
10 |
</head> |
11 |
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %] |
11 |
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %] |
Lines 66-72
Link Here
|
66 |
[% END %] |
66 |
[% END %] |
67 |
|
67 |
|
68 |
[% IF op == 'view' %] |
68 |
[% IF op == 'view' %] |
69 |
<li><span class="divider">›</span> Contents of <i>[% shelf.shelfname | html %]</i></li> |
69 |
<li><span class="divider">›</span> Contents of <i>[% shelf.shelfname %]</i></li> |
70 |
[% END %] |
70 |
[% END %] |
71 |
|
71 |
|
72 |
[% IF op == 'add_form' %] |
72 |
[% IF op == 'add_form' %] |
Lines 74-80
Link Here
|
74 |
[% END %] |
74 |
[% END %] |
75 |
|
75 |
|
76 |
[% IF op == 'edit_form' %] |
76 |
[% IF op == 'edit_form' %] |
77 |
<li><span class="divider">›</span> Edit list <i>[% shelf.shelfname | html %]</i></li> |
77 |
<li><span class="divider">›</span> Edit list <i>[% shelf.shelfname %]</i></li> |
78 |
[% END %] |
78 |
[% END %] |
79 |
|
79 |
|
80 |
</ul> <!-- / .breadcrumb --> |
80 |
</ul> <!-- / .breadcrumb --> |
Lines 155-174
Link Here
|
155 |
|
155 |
|
156 |
[% IF shelf AND op == 'view' %] |
156 |
[% IF shelf AND op == 'view' %] |
157 |
<h3> |
157 |
<h3> |
158 |
[% shelf.shelfname |html %] |
158 |
[% shelf.shelfname %] |
159 |
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&op=view&shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint"> |
159 |
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&op=view&shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint"> |
160 |
<img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/> |
160 |
<img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/> |
161 |
</a> |
161 |
</a> |
162 |
</h3> |
162 |
</h3> |
163 |
|
163 |
|
164 |
[% IF ( itemsloop ) %] |
164 |
[% IF ( itemsloop ) %] |
165 |
<div id="toolbar" class="toolbar clearfix"> |
165 |
<div id="toolbar" class="toolbar clearfix"> |
166 |
<div class="list-actions"> |
166 |
<div class="list-actions"> |
167 |
<a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span> |
167 |
<a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span> |
168 |
<a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a> |
168 |
<a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a> |
169 |
|
169 |
|
170 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
170 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
171 |
<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span> |
171 |
<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span> |
172 |
[% END %] |
172 |
[% END %] |
173 |
|
173 |
|
174 |
<a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=[% sortfield %]&direction=[% direction |uri %]&print=1">Print list</a> |
174 |
<a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=[% sortfield %]&direction=[% direction |uri %]&print=1">Print list</a> |
Lines 179-185
Link Here
|
179 |
<input type="hidden" name="op" value="edit_form" /> |
179 |
<input type="hidden" name="op" value="edit_form" /> |
180 |
<input type="hidden" name="referer" value="view" /> |
180 |
<input type="hidden" name="referer" value="view" /> |
181 |
<input type='hidden' name='category' value='[% category %]' /> |
181 |
<input type='hidden' name='category' value='[% category %]' /> |
182 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
182 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
183 |
<input type="submit" class="editshelf" value="Edit list" /> |
183 |
<input type="submit" class="editshelf" value="Edit list" /> |
184 |
</form> |
184 |
</form> |
185 |
|
185 |
|
Lines 187-204
Link Here
|
187 |
<input type="hidden" name="op" value="delete" /> |
187 |
<input type="hidden" name="op" value="delete" /> |
188 |
<input type="hidden" name="referer" value="list" /> |
188 |
<input type="hidden" name="referer" value="list" /> |
189 |
<input type='hidden' name='category' value='[% category %]' /> |
189 |
<input type='hidden' name='category' value='[% category %]' /> |
190 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
190 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
191 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
191 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
192 |
</form> |
192 |
</form> |
193 |
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] |
193 |
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] |
194 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="">Share list</a> |
194 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber %]" class="">Share list</a> |
195 |
[% END %] |
195 |
[% END %] |
196 |
[% ELSIF category == PRIVATE # not manageshelf and private means shared %] |
196 |
[% ELSIF category == PRIVATE # not manageshelf and private means shared %] |
197 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline"> |
197 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline"> |
198 |
<input type="hidden" name="op" value="remove_share" /> |
198 |
<input type="hidden" name="op" value="remove_share" /> |
199 |
<input type="hidden" name="referer" value="list" /> |
199 |
<input type="hidden" name="referer" value="list" /> |
200 |
<input type='hidden' name='category' value='[% category %]' /> |
200 |
<input type='hidden' name='category' value='[% category %]' /> |
201 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
201 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
202 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
202 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
203 |
</form> |
203 |
</form> |
204 |
[% END %] |
204 |
[% END %] |
Lines 206-212
Link Here
|
206 |
|
206 |
|
207 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
207 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
208 |
<input type="hidden" name="op" value="view" /> |
208 |
<input type="hidden" name="op" value="view" /> |
209 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
209 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
210 |
|
210 |
|
211 |
<label for="sortfield">Sort by: </label> |
211 |
<label for="sortfield">Sort by: </label> |
212 |
<select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()"> |
212 |
<select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()"> |
Lines 283-289
Link Here
|
283 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
283 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
284 |
[% IF can_manage_shelf %] |
284 |
[% IF can_manage_shelf %] |
285 |
<input type="hidden" name="op" value="remove_biblios" /> |
285 |
<input type="hidden" name="op" value="remove_biblios" /> |
286 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
286 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
287 |
[% END %] |
287 |
[% END %] |
288 |
<div class="searchresults"> |
288 |
<div class="searchresults"> |
289 |
<table id="listcontents" class="table"> |
289 |
<table id="listcontents" class="table"> |
Lines 342-355
Link Here
|
342 |
[% IF ( BakerTaylorEnabled ) %] |
342 |
[% IF ( BakerTaylorEnabled ) %] |
343 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
343 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
344 |
[% IF ( bt_id ) %] |
344 |
[% IF ( bt_id ) %] |
345 |
<a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a> |
345 |
<a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a> |
346 |
[% ELSE %] |
346 |
[% ELSE %] |
347 |
<span class="no-image">No cover image available</span> |
347 |
<span class="no-image">No cover image available</span> |
348 |
[% END %] |
348 |
[% END %] |
349 |
[% END %] |
349 |
[% END %] |
350 |
</div> |
350 |
</div> |
351 |
[% IF ( itemsloo.XSLTBloc ) %] |
351 |
[% IF ( itemsloo.XSLTBloc ) %] |
352 |
[% itemsloo.XSLTBloc %] |
352 |
[% itemsloo.XSLTBloc.raw %] |
353 |
[% ELSE %] |
353 |
[% ELSE %] |
354 |
|
354 |
|
355 |
[% IF ( itemsloo.BiblioDefaultViewmarc ) %] |
355 |
[% IF ( itemsloo.BiblioDefaultViewmarc ) %] |
Lines 363-375
Link Here
|
363 |
[% END %] |
363 |
[% END %] |
364 |
|
364 |
|
365 |
[% IF ( itemsloo.title ) %] |
365 |
[% IF ( itemsloo.title ) %] |
366 |
[% itemsloo.title |html %] |
366 |
[% itemsloo.title %] |
367 |
[% ELSE %] |
367 |
[% ELSE %] |
368 |
No title |
368 |
No title |
369 |
[% END %] |
369 |
[% END %] |
370 |
|
370 |
|
371 |
[% FOREACH subtitl IN itemsloo.subtitle %] |
371 |
[% FOREACH subtitl IN itemsloo.subtitle %] |
372 |
[% subtitl.subfield|html %] |
372 |
[% subtitl.subfield %] |
373 |
[% END %] |
373 |
[% END %] |
374 |
</a> |
374 |
</a> |
375 |
|
375 |
|
Lines 385-391
Link Here
|
385 |
[% itemsloo.place %] |
385 |
[% itemsloo.place %] |
386 |
[% END %] |
386 |
[% END %] |
387 |
[% IF ( itemsloo.publishercode ) %] |
387 |
[% IF ( itemsloo.publishercode ) %] |
388 |
[% itemsloo.publishercode|html %] |
388 |
[% itemsloo.publishercode %] |
389 |
[% END %] |
389 |
[% END %] |
390 |
[% IF ( itemsloo.publicationyear ) %] |
390 |
[% IF ( itemsloo.publicationyear ) %] |
391 |
[% itemsloo.publicationyear %] |
391 |
[% itemsloo.publicationyear %] |
Lines 395-401
Link Here
|
395 |
[% END %] |
395 |
[% END %] |
396 |
[% END %] |
396 |
[% END %] |
397 |
[% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] |
397 |
[% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] |
398 |
[% IF ( itemsloo.notes ) %], [% itemsloo.notes|html %][% END %] |
398 |
[% IF ( itemsloo.notes ) %], [% itemsloo.notes %][% END %] |
399 |
[% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] |
399 |
[% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] |
400 |
</span> |
400 |
</span> |
401 |
<span class="results_summary"> |
401 |
<span class="results_summary"> |
Lines 488-494
Link Here
|
488 |
</div><!-- / .searchresults --> |
488 |
</div><!-- / .searchresults --> |
489 |
|
489 |
|
490 |
[% IF ( pagination_bar ) %] |
490 |
[% IF ( pagination_bar ) %] |
491 |
<div class="pages">[% pagination_bar %]</div> |
491 |
<div class="pages">[% pagination_bar.raw %]</div> |
492 |
[% END %] |
492 |
[% END %] |
493 |
|
493 |
|
494 |
[% ELSE %] |
494 |
[% ELSE %] |
Lines 501-513
Link Here
|
501 |
<input type="hidden" name="op" value="edit_form" /> |
501 |
<input type="hidden" name="op" value="edit_form" /> |
502 |
<input type="hidden" name="referer" value="view" /> |
502 |
<input type="hidden" name="referer" value="view" /> |
503 |
<input type="hidden" name="category" value="category" /> |
503 |
<input type="hidden" name="category" value="category" /> |
504 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
504 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
505 |
<input type="submit" class="editshelf" value="Edit list" /> |
505 |
<input type="submit" class="editshelf" value="Edit list" /> |
506 |
</form> |
506 |
</form> |
507 |
|
507 |
|
508 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
508 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
509 |
<input type="hidden" name="op" value="delete" /> |
509 |
<input type="hidden" name="op" value="delete" /> |
510 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]"/> |
510 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]"/> |
511 |
<input type="hidden" name="category" value="category" /> |
511 |
<input type="hidden" name="category" value="category" /> |
512 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
512 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
513 |
</form> |
513 |
</form> |
Lines 522-532
Link Here
|
522 |
[% END %] |
522 |
[% END %] |
523 |
</div> |
523 |
</div> |
524 |
[% END # / IF itemsloop %] |
524 |
[% END # / IF itemsloop %] |
525 |
[% END %] |
525 |
[% END %] |
526 |
|
|
|
527 |
[% IF itemsloop && can_remove_biblios %] |
526 |
[% IF itemsloop && can_remove_biblios %] |
528 |
<input type="hidden" name="op" value="remove_biblios" /> |
527 |
<input type="hidden" name="op" value="remove_biblios" /> |
529 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
528 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
530 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
529 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
531 |
<input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
530 |
<input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
532 |
</form> |
531 |
</form> |
Lines 534-540
Link Here
|
534 |
<form method="post" action="opac-shelves.pl"> |
533 |
<form method="post" action="opac-shelves.pl"> |
535 |
<input type="hidden" name="op" value="delete" /> |
534 |
<input type="hidden" name="op" value="delete" /> |
536 |
<input type="hidden" name="referer" value="list" /> |
535 |
<input type="hidden" name="referer" value="list" /> |
537 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]"/> |
536 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]"/> |
538 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
537 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
539 |
</form> |
538 |
</form> |
540 |
[% END %] |
539 |
[% END %] |
Lines 547-562
Link Here
|
547 |
<legend>Create a new list</legend> |
546 |
<legend>Create a new list</legend> |
548 |
<input type="hidden" name="op" value="add" /> |
547 |
<input type="hidden" name="op" value="add" /> |
549 |
[% ELSE %] |
548 |
[% ELSE %] |
550 |
<legend>Editing <em>[% shelf.shelfname |html %]</em></legend> |
549 |
<legend>Editing <em>[% shelf.shelfname %]</em></legend> |
551 |
<input type="hidden" name="op" value="edit" /> |
550 |
<input type="hidden" name="op" value="edit" /> |
552 |
<input type="hidden" name="referer" value="[% referer | html %]" /> |
551 |
<input type="hidden" name="referer" value="[% referer %]" /> |
553 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
552 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
554 |
[% END %] |
553 |
[% END %] |
555 |
<input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" /> |
554 |
<input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" /> |
556 |
<ol> |
555 |
<ol> |
557 |
<li> |
556 |
<li> |
558 |
<label class="required" for="shelfname">List name: </label> |
557 |
<label class="required" for="shelfname">List name: </label> |
559 |
<input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname |html %]" /></li> |
558 |
<input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname %]" /></li> |
560 |
<li> |
559 |
<li> |
561 |
<label for="sortfield" >Sort this list by: </label> |
560 |
<label for="sortfield" >Sort this list by: </label> |
562 |
<select name="sortfield" id="sortfield"> |
561 |
<select name="sortfield" id="sortfield"> |
Lines 666-672
Link Here
|
666 |
[% FOREACH s IN shelves %] |
665 |
[% FOREACH s IN shelves %] |
667 |
[% SET contents = s.get_contents %] |
666 |
[% SET contents = s.get_contents %] |
668 |
<tr> |
667 |
<tr> |
669 |
<td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname |html %]</a></td> |
668 |
<td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></td> |
670 |
<td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td> |
669 |
<td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td> |
671 |
<td> |
670 |
<td> |
672 |
[% IF s.category == PRIVATE %] |
671 |
[% IF s.category == PRIVATE %] |
Lines 678-684
Link Here
|
678 |
<td> |
677 |
<td> |
679 |
[% IF s.can_be_managed( loggedinusernumber ) %] |
678 |
[% IF s.can_be_managed( loggedinusernumber ) %] |
680 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
679 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
681 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber |html %]" /> |
680 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
682 |
<input type="hidden" name="category" value="[% s.category %]" /> |
681 |
<input type="hidden" name="category" value="[% s.category %]" /> |
683 |
<input type="hidden" name="op" value="edit_form" /> |
682 |
<input type="hidden" name="op" value="edit_form" /> |
684 |
<input type="hidden" name="referer" value="list" /> |
683 |
<input type="hidden" name="referer" value="list" /> |
Lines 690-708
Link Here
|
690 |
<input type="hidden" name="op" value="delete" /> |
689 |
<input type="hidden" name="op" value="delete" /> |
691 |
<input type="hidden" name="referer" value="list" /> |
690 |
<input type="hidden" name="referer" value="list" /> |
692 |
<input type='hidden' name='category' value='[% category %]' /> |
691 |
<input type='hidden' name='category' value='[% category %]' /> |
693 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" /> |
692 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
694 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
693 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
695 |
</form> |
694 |
</form> |
696 |
[% END %] |
695 |
[% END %] |
697 |
[% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] |
696 |
[% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] |
698 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="">Share</a> |
697 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber %]" class="">Share</a> |
699 |
[% END %] |
698 |
[% END %] |
700 |
[% IF s.is_shared_with( loggedinusernumber ) %] |
699 |
[% IF s.is_shared_with( loggedinusernumber ) %] |
701 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
700 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
702 |
<input type="hidden" name="op" value="remove_share" /> |
701 |
<input type="hidden" name="op" value="remove_share" /> |
703 |
<input type="hidden" name="referer" value="list" /> |
702 |
<input type="hidden" name="referer" value="list" /> |
704 |
<input type='hidden' name='category' value='[% category %]' /> |
703 |
<input type='hidden' name='category' value='[% category %]' /> |
705 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" /> |
704 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
706 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
705 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
707 |
</form> |
706 |
</form> |
708 |
[% END %] |
707 |
[% END %] |
Lines 711-717
Link Here
|
711 |
[% END %] |
710 |
[% END %] |
712 |
</tbody> |
711 |
</tbody> |
713 |
</table> |
712 |
</table> |
714 |
<div class="pages">[% pagination_bar %]</div> |
713 |
<div class="pages">[% pagination_bar.raw %]</div> |
715 |
[% ELSE %] |
714 |
[% ELSE %] |
716 |
[% IF category == PUBLIC %] |
715 |
[% IF category == PUBLIC %] |
717 |
<p>No public lists.</p> |
716 |
<p>No public lists.</p> |