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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-1 / +15 lines)
Lines 28-33 Link Here
28
28
29
        $("#show_all_details").attr('checked', false);
29
        $("#show_all_details").attr('checked', false);
30
        updateColumnsVisibility(false);
30
        updateColumnsVisibility(false);
31
        [% UNLESS ( closedate ) %]
32
            $('#addtoBasket').on('show', function () {
33
               $(this).find(".modal-body").html($("#acqui_basket_add")[0].outerHTML);
34
            });
35
        [% END %]
31
    });
36
    });
32
//]]>
37
//]]>
33
</script>
38
</script>
Lines 137-142 Link Here
137
        [% UNLESS ( selectbasketg ) %]
142
        [% UNLESS ( selectbasketg ) %]
138
            [% UNLESS ( closedate ) %]
143
            [% UNLESS ( closedate ) %]
139
                <div id="toolbar" class="btn-toolbar">
144
                <div id="toolbar" class="btn-toolbar">
145
                    <div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-small" data-toggle="modal"><i class="icon-plus"></i> Add to basket</a></div>
140
                    <div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;op=add_form" class="btn btn-small" id="basketheadbutton"><i class="icon-pencil"></i> Edit basket</a></div>
146
                    <div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;op=add_form" class="btn btn-small" id="basketheadbutton"><i class="icon-pencil"></i> Edit basket</a></div>
141
                    <div class="btn-group"><a href="#" class="btn btn-small" id="delbasketbutton"><i class="icon-remove"></i> Delete this basket</a></div>
147
                    <div class="btn-group"><a href="#" class="btn btn-small" id="delbasketbutton"><i class="icon-remove"></i> Delete this basket</a></div>
142
                    [% IF ( unclosable ) %]
148
                    [% IF ( unclosable ) %]
Lines 451-456 Link Here
451
        [% END %]
457
        [% END %]
452
        <br />
458
        <br />
453
        [% UNLESS ( closedate ) %]
459
        [% UNLESS ( closedate ) %]
460
461
    <!-- Modal -->
462
    <div id="addtoBasket" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="addtoBasketLabel" aria-hidden="true">
463
        <div class="modal-body"></div>
464
        <div class="modal-footer">
465
            <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
466
        </div>
467
    </div>
468
454
        [% INCLUDE 'acquisitions-add-to-basket.inc' %]
469
        [% INCLUDE 'acquisitions-add-to-basket.inc' %]
455
        [% END %]
470
        [% END %]
456
        [% END %]
471
        [% END %]
457
- 

Return to bug 10614