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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-4 / +3 lines)
Lines 2921-2930 Link Here
2921
            [% IF ( SpineLabelShowPrintOnBibDetails ) %]
2921
            [% IF ( SpineLabelShowPrintOnBibDetails ) %]
2922
            {
2922
            {
2923
                data: "",
2923
                data: "",
2924
                searchable: false, // FIXME
2924
                searchable: false,
2925
                orderable: true,
2925
                orderable: false,
2926
                render: function (data, type, row, meta) {
2926
                render: function (data, type, row, meta) {
2927
                    return ""; // FIXME Print label
2927
                    return '<a class="btn btn-default btn-xs print-label" href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=%s"><i class="fa fa-print"></i> Print label</a>'.format(row.external_id);
2928
                }
2928
                }
2929
            },
2929
            },
2930
            [% END %]
2930
            [% END %]
2931
- 

Return to bug 33568