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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-7 / +6 lines)
Lines 55-70 Link Here
55
                                </div>
55
                                </div>
56
                                <span class="links" id="tag_hides">
56
                                <span class="links" id="tag_hides">
57
                                    <span class="selections">Select titles to: </span>
57
                                    <span class="selections">Select titles to: </span>
58
                                    <a href="#" class="btn btn-link btn-sm remove deleteshelf disabled"><i class="fa fa-remove" aria-hidden="true"></i> Remove</a>
58
                                    <a href="#" class="btn btn-link btn-sm remove deleteshelf disabled" aria-disabled="true"><i class="fa fa-remove" aria-hidden="true"></i> Remove</a>
59
                                    [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
59
                                    [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
60
                                        [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %]
60
                                        [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %]
61
                                            <a href="#" class="btn btn-link btn-sm newshelf disabled"><i class="fa fa-fw fa-list" aria-hidden="true"></i> Add to a list</a>
61
                                            <a href="#" class="btn btn-link btn-sm newshelf disabled" aria-disabled="true"><i class="fa fa-fw fa-list" aria-hidden="true"></i> Add to a list</a>
62
                                        [% END %]
62
                                        [% END %]
63
                                        [% IF ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %]
63
                                        [% IF ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %]
64
                                            <a href="#" class="btn btn-link btn-sm hold disabled"><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a>
64
                                            <a href="#" class="btn btn-link btn-sm hold disabled" aria-disabled="true"><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a>
65
                                        [% END %]
65
                                        [% END %]
66
                                        [% IF ( TagsInputEnabled && loggedinusername ) %]
66
                                        [% IF ( TagsInputEnabled && loggedinusername ) %]
67
                                            <a href="#" id="tagsel_tag" class="btn btn-link btn-sm disabled"><i class="fa fa-fw fa-tag" aria-hidden="true"></i> Tag</a>
67
                                            <a href="#" id="tagsel_tag" class="btn btn-link btn-sm disabled" aria-disabled="true"><i class="fa fa-fw fa-tag" aria-hidden="true"></i> Tag</a>
68
                                        [% END %]
68
                                        [% END %]
69
                                    [% END # / IF opacuserlogin %]
69
                                    [% END # / IF opacuserlogin %]
70
                                </span>
70
                                </span>
Lines 488-497 Link Here
488
                var checkedBoxes = $(".cb:checked");
488
                var checkedBoxes = $(".cb:checked");
489
                if ( checkedBoxes.length ) {
489
                if ( checkedBoxes.length ) {
490
                  $(".selections").html(_("With selected titles: "));
490
                  $(".selections").html(_("With selected titles: "));
491
                  $(".selections-toolbar .links a").removeClass("disabled");
491
                  $(".selections-toolbar .links a").removeClass("disabled").attr("aria-disabled", "false");
492
                } else {
492
                } else {
493
                  $(".selections").html(_("Select titles to: "));
493
                  $(".selections").html(_("Select titles to: "));
494
                  $(".selections-toolbar .links a").addClass("disabled");
494
                  $(".selections-toolbar .links a").addClass("disabled").attr("aria-disabled", "true");
495
                }
495
                }
496
            }
496
            }
497
        </script>
497
        </script>
498
- 

Return to bug 26761