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

(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-4 / +7 lines)
Lines 152-161 $(document).ready(function() { Link Here
152
                            if ( oObj.found ) {
152
                            if ( oObj.found ) {
153
                                return "";
153
                                return "";
154
                            } else if ( oObj.suspend == 1 ) {
154
                            } else if ( oObj.suspend == 1 ) {
155
                                return "<a class='hold-resume btn btn-mini' id='resume" + oObj.reserve_id + "'>"
155
                                return "<a class='hold-resume btn btn-default btn-xs' id='resume" + oObj.reserve_id + "'>"
156
                                     + "<i class='fa fa-play'></i> " + RESUME + "</a>";
156
                                     + "<i class='fa fa-play'></i> " + RESUME + "</a>";
157
                            } else {
157
                            } else {
158
                                return "<a class='hold-suspend btn btn-mini' id='suspend" + oObj.reserve_id + "'>"
158
                                return "<a class='hold-suspend btn btn-default btn-xs' id='suspend" + oObj.reserve_id + "'>"
159
                                     + "<i class='fa fa-pause'></i> " + SUSPEND + "</a>";
159
                                     + "<i class='fa fa-pause'></i> " + SUSPEND + "</a>";
160
                            }
160
                            }
161
                        }
161
                        }
Lines 229-235 $(document).ready(function() { Link Here
229
    }
229
    }
230
230
231
    $("body").append("\
231
    $("body").append("\
232
        <div id='suspend-modal' class='modal hide fade' tabindex='-1' role='dialog' aria-hidden='true'>\
232
        <div id='suspend-modal' class='modal fade' tabindex='-1' role='dialog' aria-hidden='true'>\
233
            <div class='modal-dialog'>\
234
            <div class='modal-content'>\
233
            <form id='suspend-modal-form' class='form-inline'>\
235
            <form id='suspend-modal-form' class='form-inline'>\
234
                <div class='modal-header'>\
236
                <div class='modal-header'>\
235
                    <button type='button' class='closebtn' data-dismiss='modal' aria-hidden='true'>×</button>\
237
                    <button type='button' class='closebtn' data-dismiss='modal' aria-hidden='true'>×</button>\
Lines 251-256 $(document).ready(function() { Link Here
251
                    <a href='#' data-dismiss='modal' aria-hidden='true' class='cancel'>" + CANCEL + "</a>\
253
                    <a href='#' data-dismiss='modal' aria-hidden='true' class='cancel'>" + CANCEL + "</a>\
252
                </div>\
254
                </div>\
253
            </form>\
255
            </form>\
256
            </div>\
257
            </div>\
254
        </div>\
258
        </div>\
255
    ");
259
    ");
256
260
257
- 

Return to bug 16239