|
Lines 182-189
Link Here
|
| 182 |
<span>You do not have permission to delete this list.</span> |
182 |
<span>You do not have permission to delete this list.</span> |
| 183 |
[% CASE 'unauthorized_on_add_biblio' %] |
183 |
[% CASE 'unauthorized_on_add_biblio' %] |
| 184 |
<span>You do not have permission to add a record to this list.</span> |
184 |
<span>You do not have permission to add a record to this list.</span> |
|
|
185 |
[% CASE 'unauthorized_transfer' %] |
| 186 |
<span>You do not have permission to transfer ownership of this list.</span> |
| 185 |
[% CASE 'no_biblio_removed' %] |
187 |
[% CASE 'no_biblio_removed' %] |
| 186 |
<span>No record was removed.</span> |
188 |
<span>No record was removed.</span> |
|
|
189 |
[% CASE 'new_owner_not_found' %] |
| 190 |
<span>The new owner could not be found anymore.</span> |
| 191 |
[% CASE 'new_owner_has_no_share' %] |
| 192 |
<span>The new owner has no share for this list.</span> |
| 193 |
|
| 187 |
[% CASE 'Koha::Exceptions::Virtualshelf::DuplicateObject' %] |
194 |
[% CASE 'Koha::Exceptions::Virtualshelf::DuplicateObject' %] |
| 188 |
<span>An error occurred when creating the list. The name [% shelfname | html %] already exists.</span> |
195 |
<span>An error occurred when creating the list. The name [% shelfname | html %] already exists.</span> |
| 189 |
[% CASE 'DBIx::Class::Exception' %] |
196 |
[% CASE 'DBIx::Class::Exception' %] |
|
Lines 635-640
Link Here
|
| 635 |
</fieldset> |
642 |
</fieldset> |
| 636 |
</form> |
643 |
</form> |
| 637 |
|
644 |
|
|
|
645 |
[% ELSIF op == 'transfer' %] |
| 646 |
<h1>Transfer ownership of shared list '[% shelf.shelfname | html %]'</h1> |
| 647 |
<br/> |
| 648 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="transferform" method="post"> |
| 649 |
<fieldset> |
| 650 |
<input type="hidden" name="op" value="transfer" /> |
| 651 |
<input type="hidden" name="public" value="0" /> |
| 652 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
| 653 |
<div> |
| 654 |
<label for="find_patron">New owner: </label> |
| 655 |
<select name="new_owner" id="new_owner"> |
| 656 |
[% FOREACH sharee IN shared_users %] |
| 657 |
<option value="[% sharee.borrowernumber | html %]" selected="">[% sharee.email | html %]</option> |
| 658 |
[% END %] |
| 659 |
</select> |
| 660 |
</div> |
| 661 |
<br/> |
| 662 |
<fieldset class="action"> |
| 663 |
<input type="submit" value="Transfer" class="submit" /> |
| 664 |
<a href="/cgi-bin/koha/opac-shelves.pl?op=list&public=0" class="cancel">Cancel</a> |
| 665 |
</fieldset> |
| 666 |
</fieldset> |
| 667 |
</form> |
| 668 |
|
| 638 |
[% ELSIF op == 'list' %] |
669 |
[% ELSIF op == 'list' %] |
| 639 |
<h1>Lists</h1> |
670 |
<h1>Lists</h1> |
| 640 |
<div class="toptabs ui-tabs ui-widget ui-widget-content ui-corner-all"> |
671 |
<div class="toptabs ui-tabs ui-widget ui-widget-content ui-corner-all"> |