[% IF ( OpacNav ) %]
[% END %]
[% INCLUDE 'navigation.inc' IsPatronPage=1 %]
[%# This section contains the essential code for error messages and three operations: invite, confirm_invite and accept. %]
[% ELSIF op=='conf_invite' %]
Share a list with another patron
[% IF errcode %] [% IF errcode==1 && op %]The operation [% op | html %] is not supported.
[% END %]
[% IF errcode==1 && !op %]
No operation parameter has been passed.
[% END %]
[% IF errcode==2 %]
Invalid shelf number.
[% END %]
[% IF errcode==3 %]
The feature of sharing lists is not in use in this library.
[% END %]
[% IF errcode==4 %]
You can only share a list if you are the owner.
[% END %]
[% IF errcode==5 %]
You cannot share a public list.
[% END %]
[% IF errcode==6 %]
Sorry, but you did not enter a valid email address.
[% END %]
[% IF errcode==7 %]
Sorry, but we could not accept this key. The invitation may have expired. Contact the patron who sent you the invitation.
[% END %]
[% IF errcode==8 %]
As owner of a list you cannot accept an invitation for sharing it.
[% END %]
[% ELSIF op=='invite' %]
[% IF approvedaddress %]
[% ELSIF op=='accept' %]
[%# Nothing to do: we already display an error or we redirect. %]
[% END %]
[%# End of essential part %]
An invitation to share list [% shelfname | html %] will be sent shortly to [% approvedaddress | html %].
[% END %] [% IF failaddress %]Something went wrong while processing the following addresses. Please check them. These are: [% failaddress | html %]
[% END %] [% IF approvedaddress %]You will receive an email notification if someone accepts your share before it expires.
[% END %]