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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-4 / +27 lines)
Lines 49-55 Link Here
49
                <li>Your lists</li>
49
                <li>Your lists</li>
50
            [% END %]
50
            [% END %]
51
        [% ELSIF ( category2 ) %]
51
        [% ELSIF ( category2 ) %]
52
            [% IF ( viewshelf ) %]
52
            [% IF ( viewshelf || edit ) %]
53
                <li><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public lists</a></li>
53
                <li><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public lists</a></li>
54
            [% ELSE %]
54
            [% ELSE %]
55
                <li>Public lists</li>
55
                <li>Public lists</li>
Lines 61-67 Link Here
61
                <li>Your lists</li>
61
                <li>Your lists</li>
62
            [% END %]
62
            [% END %]
63
        [% ELSIF ( showpublicshelves ) %]
63
        [% ELSIF ( showpublicshelves ) %]
64
            [% IF ( viewshelf || edit ) %]
64
            [% IF ( viewshelf || edit || shelves ) %]
65
                <li><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public lists</a></li>
65
                <li><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public lists</a></li>
66
            [% ELSE %]
66
            [% ELSE %]
67
                <li>Public lists</li>
67
                <li>Public lists</li>
Lines 462-467 Link Here
462
                            [% END %]
462
                            [% END %]
463
463
464
                        [% ELSE %]
464
                        [% ELSE %]
465
                            <div id="toolbar" class="toolbar clearfix">
466
                                <div class="list-actions">
467
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New list</a> <span class="sep"></span>
468
                                    [% IF ( manageshelf ) %]
469
                                        <span class="sep">|</span>
470
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
471
                                            <input type="hidden" name="op" value="modif" />
472
                                            <input type="hidden" name="display" value="viewshelf" />
473
                                            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
474
                                            <input type="submit" class="editshelf" value="Edit list" />
475
                                        </form>
476
477
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
478
                                            <input type="hidden" value="1" name="shelves"/>
479
                                            <input type="hidden" value="1" name="DEL-[% shelfnumber %]"/>
480
                                            [% IF ( showprivateshelves ) %]
481
                                                <input type="hidden" name="display" value="privateshelves"/>
482
                                            [% END %]
483
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
484
                                        </form>
485
                                    [% END # / IF manageshelf %]
486
                                </div> <!-- / .list-actions -->
487
                            </div> <!-- / #toolbar -->
488
465
                            <div class="alert alert-info">
489
                            <div class="alert alert-info">
466
                                This list is empty.
490
                                This list is empty.
467
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
491
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
Lines 486-497 Link Here
486
                    [% END %]
510
                    [% END %]
487
511
488
                    [% IF ( edit ) %]
512
                    [% IF ( edit ) %]
489
                        <h3><a href="/cgi-bin/koha/opac-shelves.pl">Lists</a> &#8674; <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfnumber %]"><em>[% shelfname |html %]</em></a> &#8674; Editing</h3>
490
                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl">
513
                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl">
491
                            <input type="hidden" name="op" value="modifsave" />
514
                            <input type="hidden" name="op" value="modifsave" />
492
                            <input type="hidden" name="display" value="[% display %]" />
515
                            <input type="hidden" name="display" value="[% display %]" />
493
                            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
516
                            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
494
                            <fieldset class="rows">
517
                            <fieldset class="rows">
518
                                <legend>Editing <em>[% shelfname |html %]</em></legend>
495
                                <ol>
519
                                <ol>
496
                                    <li><label for="shelfname">List name: </label><input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelfname |html %]" /></li>
520
                                    <li><label for="shelfname">List name: </label><input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelfname |html %]" /></li>
497
                                    <li>
521
                                    <li>
498
- 

Return to bug 11709