|
Lines 185-191
Link Here
|
| 185 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
185 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
| 186 |
</form> |
186 |
</form> |
| 187 |
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] |
187 |
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] |
| 188 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="">Share list</a> |
188 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="sharelist">Share list</a> |
| 189 |
[% END %] |
189 |
[% END %] |
| 190 |
[% ELSIF category == PRIVATE # not manageshelf and private means shared %] |
190 |
[% ELSIF category == PRIVATE # not manageshelf and private means shared %] |
| 191 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline"> |
191 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline"> |
|
Lines 699-705
Link Here
|
| 699 |
</form> |
699 |
</form> |
| 700 |
[% END %] |
700 |
[% END %] |
| 701 |
[% IF s.is_private AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] |
701 |
[% IF s.is_private AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] |
| 702 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="">Share</a> |
702 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="sharelist">Share</a> |
| 703 |
[% END %] |
703 |
[% END %] |
| 704 |
[% IF s.is_shared_with( loggedinusernumber ) %] |
704 |
[% IF s.is_shared_with( loggedinusernumber ) %] |
| 705 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
705 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |