View | Details | Raw Unified | Return to bug 20756
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt (-2 / +4 lines)
Lines 13-18 Link Here
13
        [% IF ( loggedinusername ) %]
13
        [% IF ( loggedinusername ) %]
14
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">&rsaquo;</span></li>
14
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">&rsaquo;</span></li>
15
        [% END %]
15
        [% END %]
16
        <li><a href="/cgi-bin/koha/opac-shelves.pl">Lists</a> <span class="divider">&rsaquo;</span></li>
16
        <li>Share a list</li>
17
        <li>Share a list</li>
17
    </ul> <!-- / .breadcrumb -->
18
    </ul> <!-- / .breadcrumb -->
18
19
Lines 26-35 Link Here
26
                </div>
27
                </div>
27
            [% END %]
28
            [% END %]
28
29
30
            <div class="span10">
31
                <div id="shareshelf" class="maincontent">
32
29
[%# This section contains the essential code for error messages and three operations: invite, confirm_invite and accept. %]
33
[%# This section contains the essential code for error messages and three operations: invite, confirm_invite and accept. %]
30
    <h2>Share a list with another patron</h2>
34
    <h2>Share a list with another patron</h2>
31
    <div class="span10">
32
        <div id="shareshelf" class="maincontent">
33
35
34
    [% IF errcode %]
36
    [% IF errcode %]
35
        [% IF errcode==1 && op %]<div class="alert">The operation [% op | html %] is not supported.</div>[% END %]
37
        [% IF errcode==1 && op %]<div class="alert">The operation [% op | html %] is not supported.</div>[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-2 / +2 lines)
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">
(-)a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less (-3 / +9 lines)
Lines 1338-1343 a.deleteshelf.disabled, Link Here
1338
a.detail,
1338
a.detail,
1339
a.download,
1339
a.download,
1340
a.editshelf,
1340
a.editshelf,
1341
a.sharelist,
1341
a.empty,
1342
a.empty,
1342
a.hide,
1343
a.hide,
1343
a.highlight_toggle,
1344
a.highlight_toggle,
Lines 1407-1412 a.editshelf { Link Here
1407
    text-decoration : none;
1408
    text-decoration : none;
1408
}
1409
}
1409
1410
1411
a.sharelist {
1412
    background-position : 2px -1148px; /* List share */
1413
    padding-left : 26px;
1414
    text-decoration : none;
1415
}
1416
1410
a.empty {
1417
a.empty {
1411
    background-position : 2px -598px; /* Trash */
1418
    background-position : 2px -598px; /* Trash */
1412
    text-decoration : none;
1419
    text-decoration : none;
Lines 1505-1511 input.hold { Link Here
1505
1512
1506
input.editshelf {
1513
input.editshelf {
1507
    background-color: transparent;
1514
    background-color: transparent;
1508
    background-position : 2px -736px; /* List edit */
1515
    background-position : 2px -734px; /* List edit */
1509
    border : 0;
1516
    border : 0;
1510
    color : #006699;
1517
    color : #006699;
1511
    cursor : pointer;
1518
    cursor : pointer;
Lines 1532-1538 input.editshelf { Link Here
1532
1539
1533
.deleteshelf {
1540
.deleteshelf {
1534
    background-color: transparent;
1541
    background-color: transparent;
1535
    background-position : 2px -690px; /* Delete */
1542
    background-position : 2px -687px; /* Delete */
1536
    border : 0;
1543
    border : 0;
1537
    color : #006699;
1544
    color : #006699;
1538
    cursor : pointer;
1545
    cursor : pointer;
1539
- 

Return to bug 20756