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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc (+5 lines)
Lines 30-34 Link Here
30
    var NO = _("No");
30
    var NO = _("No");
31
    var YES = _("Yes");
31
    var YES = _("Yes");
32
    var INHOUSE_USE = _("On-site checkout");
32
    var INHOUSE_USE = _("On-site checkout");
33
    var CANCEL = _("Cancel");
34
    var RESUME = _("Resume");
35
    var SUSPEND = _("Suspend");
36
    var SUSPEND_HOLD_ON = _("Suspend hold on");
37
    var CLEAR_DATE_TO_SUSPEND_INDEFINITELY = _("Clear date to suspend indefinitely");
33
//]]>
38
//]]>
34
</script>
39
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js (-6 / +6 lines)
Lines 130-139 $(document).ready(function() { Link Here
130
                                return "";
130
                                return "";
131
                            } else if ( oObj.suspend == 1 ) {
131
                            } else if ( oObj.suspend == 1 ) {
132
                                return "<a class='hold-resume btn btn-link' id='resume" + oObj.reserve_id + "' style='display: inline; white-space: nowrap;'>"
132
                                return "<a class='hold-resume btn btn-link' id='resume" + oObj.reserve_id + "' style='display: inline; white-space: nowrap;'>"
133
                                     + "<i class='icon-play'></i> " + _("Resume") + "</a>";
133
                                     + "<i class='icon-play'></i> " + RESUME + "</a>";
134
                            } else {
134
                            } else {
135
                                return "<a class='hold-suspend btn btn-link' id='suspend" + oObj.reserve_id + "' style='display: inline; white-space: nowrap;'>"
135
                                return "<a class='hold-suspend btn btn-link' id='suspend" + oObj.reserve_id + "' style='display: inline; white-space: nowrap;'>"
136
                                     + "<i class='icon-pause'></i> " + _("Suspend") + "</a>";
136
                                     + "<i class='icon-pause'></i> " + SUSPEND + "</a>";
137
                            }
137
                            }
138
                        }
138
                        }
139
                    }
139
                    }
Lines 181-187 $(document).ready(function() { Link Here
181
            <form id='suspend-modal-form' class='form-inline'>\
181
            <form id='suspend-modal-form' class='form-inline'>\
182
                <div class='modal-header'>\
182
                <div class='modal-header'>\
183
                    <button type='button' class='closebtn' data-dismiss='modal' aria-hidden='true'>×</button>\
183
                    <button type='button' class='closebtn' data-dismiss='modal' aria-hidden='true'>×</button>\
184
                    <h3 id='suspend-modal-label'>" + _("Suspend hold on") + " <i><span id='suspend-modal-title'></span></i></h3>\
184
                    <h3 id='suspend-modal-label'>" + SUSPEND_HOLD_ON + " <i><span id='suspend-modal-title'></span></i></h3>\
185
                </div>\
185
                </div>\
186
\
186
\
187
                <div class='modal-body'>\
187
                <div class='modal-body'>\
Lines 190-202 $(document).ready(function() { Link Here
190
                    <label for='suspend-modal-until'>Suspend until:</label>\
190
                    <label for='suspend-modal-until'>Suspend until:</label>\
191
                    <input name='suspend_until' id='suspend-modal-until' class='suspend-until' size='10' />\
191
                    <input name='suspend_until' id='suspend-modal-until' class='suspend-until' size='10' />\
192
\
192
\
193
                    <p/><a class='btn btn-link' id='suspend-modal-clear-date' >" + _("Clear date to suspend indefinitely") + "</a></p>\
193
                    <p/><a class='btn btn-link' id='suspend-modal-clear-date' >" + CLEAR_DATE_TO_SUSPEND_INDEFINITELY + "</a></p>\
194
\
194
\
195
                </div>\
195
                </div>\
196
\
196
\
197
                <div class='modal-footer'>\
197
                <div class='modal-footer'>\
198
                    <button id='suspend-modal-submit' class='btn btn-primary' type='submit' name='submit'>" + _("Suspend") + "</button>\
198
                    <button id='suspend-modal-submit' class='btn btn-primary' type='submit' name='submit'>" + SUSPEND + "</button>\
199
                    <a href='#' data-dismiss='modal' aria-hidden='true' class='cancel'>" + _("Cancel") + "</a>\
199
                    <a href='#' data-dismiss='modal' aria-hidden='true' class='cancel'>" + CANCEL + "</a>\
200
                </div>\
200
                </div>\
201
            </form>\
201
            </form>\
202
        </div>\
202
        </div>\

Return to bug 14310