[% IF ( loggedinusername ) %]
<li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">›</span></li>
[% END %]
+ <li><a href="/cgi-bin/koha/opac-shelves.pl">Lists</a> <span class="divider">›</span></li>
<li>Share a list</li>
</ul> <!-- / .breadcrumb -->
</div>
[% END %]
+ <div class="span10">
+ <div id="shareshelf" class="maincontent">
+
[%# This section contains the essential code for error messages and three operations: invite, confirm_invite and accept. %]
<h2>Share a list with another patron</h2>
- <div class="span10">
- <div id="shareshelf" class="maincontent">
[% IF errcode %]
[% IF errcode==1 && op %]<div class="alert">The operation [% op | html %] is not supported.</div>[% END %]
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
</form>
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %]
- <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="">Share list</a>
+ <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="sharelist">Share list</a>
[% END %]
[% ELSIF category == PRIVATE # not manageshelf and private means shared %]
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
</form>
[% END %]
[% IF s.is_private AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %]
- <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="">Share</a>
+ <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="sharelist">Share</a>
[% END %]
[% IF s.is_shared_with( loggedinusernumber ) %]
<form action="opac-shelves.pl" method="post" class="form-inline">
a.detail,
a.download,
a.editshelf,
+a.sharelist,
a.empty,
a.hide,
a.highlight_toggle,
text-decoration : none;
}
+a.sharelist {
+ background-position : 2px -1148px; /* List share */
+ padding-left : 26px;
+ text-decoration : none;
+}
+
a.empty {
background-position : 2px -598px; /* Trash */
text-decoration : none;
input.editshelf {
background-color: transparent;
- background-position : 2px -736px; /* List edit */
+ background-position : 2px -734px; /* List edit */
border : 0;
color : #006699;
cursor : pointer;
.deleteshelf {
background-color: transparent;
- background-position : 2px -690px; /* Delete */
+ background-position : 2px -687px; /* Delete */
border : 0;
color : #006699;
cursor : pointer;