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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +2 lines)
Lines 27-33 Link Here
27
    >[% FILTER collapse %]
27
    >[% FILTER collapse %]
28
        [% UNLESS ( multi_hold ) %]
28
        [% UNLESS ( multi_hold ) %]
29
            [% title_in_title = INCLUDE 'biblio-title-head.inc' %]
29
            [% title_in_title = INCLUDE 'biblio-title-head.inc' %]
30
            [% tx("Place a hold on {title}", { title = title_in_title }) | html %]
30
            [% tx("Place hold on {title}", { title = title_in_title }) | html %]
31
            ›
31
            ›
32
        [% ELSE %]
32
        [% ELSE %]
33
            [% t("Confirm holds") | html %]
33
            [% t("Confirm holds") | html %]
Lines 286-292 Link Here
286
    [% END %]
286
    [% END %]
287
287
288
    [% UNLESS ( multi_hold ) %]
288
    [% UNLESS ( multi_hold ) %]
289
        <h2>Place a hold on [% INCLUDE 'biblio-title.inc' link = 1 %] [% IF biblio.author %]by [% biblio.author | html %][% END %]</h2>
289
        <h2>Place hold on [% INCLUDE 'biblio-title.inc' link = 1 %] [% IF biblio.author %]by [% biblio.author | html %][% END %]</h2>
290
    [% ELSE %]
290
    [% ELSE %]
291
        <h2>
291
        <h2>
292
            [% IF ( patron ) %]
292
            [% IF ( patron ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc (-4 / +4 lines)
Lines 4-17 Link Here
4
            [% IF ( shelf AND op == 'view' ) # Lists view has more granular checking of hold availability %]
4
            [% IF ( shelf AND op == 'view' ) # Lists view has more granular checking of hold availability %]
5
                [% IF ( items.allow_onshelf_holds ) %]
5
                [% IF ( items.allow_onshelf_holds ) %]
6
                    <span class="actions"
6
                    <span class="actions"
7
                        ><a class="btn btn-link btn-sm" aria-label="Place a hold on [% items.title | html %]" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"
7
                        ><a class="btn btn-link btn-sm" aria-label="Place hold on [% items.title | html %]" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"
8
                            ><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a
8
                            ><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a
9
                        ></span
9
                        ></span
10
                    >
10
                    >
11
                [% ELSE %]
11
                [% ELSE %]
12
                    [% IF ( items.itemsissued ) %]
12
                    [% IF ( items.itemsissued ) %]
13
                        <span class="actions"
13
                        <span class="actions"
14
                            ><a class="btn btn-link btn-sm" aria-label="Place a hold on [% items.title | html %]" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"
14
                            ><a class="btn btn-link btn-sm" aria-label="Place hold on [% items.title | html %]" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"
15
                                ><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a
15
                                ><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a
16
                            ></span
16
                            ></span
17
                        >
17
                        >
Lines 19-25 Link Here
19
                [% END %]
19
                [% END %]
20
            [% ELSE %]
20
            [% ELSE %]
21
                <span class="actions"
21
                <span class="actions"
22
                    ><a class="btn btn-link btn-sm" aria-label="Place a hold on [% items.title | html %]" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"
22
                    ><a class="btn btn-link btn-sm" aria-label="Place hold on [% items.title | html %]" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"
23
                        ><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a
23
                        ><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a
24
                    ></span
24
                    ></span
25
                >
25
                >
Lines 87-93 Link Here
87
            >
87
            >
88
        [% ELSE %]
88
        [% ELSE %]
89
            <span class="actions cart-actions"
89
            <span class="actions cart-actions"
90
                ><a aria-label="Add [% items.title | html %] to the cart" data-biblionumber="[% items.biblionumber | html %]" class="btn btn-link btn-sm addtocart cart cart[% items.biblionumber | html %]" href="#"
90
                ><a aria-label="Add [% items.title | html %] to cart" data-biblionumber="[% items.biblionumber | html %]" class="btn btn-link btn-sm addtocart cart cart[% items.biblionumber | html %]" href="#"
91
                    ><i class="fa fa-fw fa-shopping-cart" aria-hidden="true"></i> Add to cart</a
91
                    ><i class="fa fa-fw fa-shopping-cart" aria-hidden="true"></i> Add to cart</a
92
                >
92
                >
93
                <a style="display:none;" data-biblionumber="[% items.biblionumber | html %]" class="btn btn-link btn-sm remove cartRemove cartR[% items.biblionumber | html %]" href="#">(remove)</a></span
93
                <a style="display:none;" data-biblionumber="[% items.biblionumber | html %]" class="btn btn-link btn-sm remove cartRemove cartR[% items.biblionumber | html %]" href="#">(remove)</a></span
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-4 / +3 lines)
Lines 169-175 Link Here
169
                                                id="single_[% bibitemloo.biblionumber | html %]"
169
                                                id="single_[% bibitemloo.biblionumber | html %]"
170
                                                value="any"
170
                                                value="any"
171
                                            />
171
                                            />
172
                                            <label class="confirm_label" for="single_[% bibitemloo.biblionumber | html %]">Place a hold on </label>
172
                                            <label class="confirm_label" for="single_[% bibitemloo.biblionumber | html %]">Place hold on </label>
173
                                        </span>
173
                                        </span>
174
                                    [% END # / bibitemloo.holdable %]
174
                                    [% END # / bibitemloo.holdable %]
175
175
Lines 598-610 Link Here
598
            $(".confirmjs_hold").each(function(){
598
            $(".confirmjs_hold").each(function(){
599
                var bib = $(this).attr("title");
599
                var bib = $(this).attr("title");
600
                var html = "<label><input type =\"checkbox\" class=\"confirmjs\" checked=\"checked\"";
600
                var html = "<label><input type =\"checkbox\" class=\"confirmjs\" checked=\"checked\"";
601
                html += "value=\"" + bib + "\" id=\"" + bib + "\" /> " + _("Place a hold on") + " </label> ";
601
                html += "value=\"" + bib + "\" id=\"" + bib + "\" /> " + _("Place hold on") + " </label> ";
602
                $(this).html(html);
602
                $(this).html(html);
603
            });
603
            });
604
            $(".confirmjs_nohold").each(function(){
604
            $(".confirmjs_nohold").each(function(){
605
                var bib = $(this).attr("title");
605
                var bib = $(this).attr("title");
606
                var html = "<label><input type =\"checkbox\" class=\"confirmjs\" disabled=\"disabled\"";
606
                var html = "<label><input type =\"checkbox\" class=\"confirmjs\" disabled=\"disabled\"";
607
                html += "value=\"" + bib + "\" id=\"" + bib + "\" />" + _("Place a hold on: ") + "</label>";
607
                html += "value=\"" + bib + "\" id=\"" + bib + "\" />" + _("Place hold on: ") + "</label>";
608
                $(this).html(html);
608
                $(this).html(html);
609
            });
609
            });
610
610
611
- 

Return to bug 41201