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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-2 / +2 lines)
Lines 522-530 Link Here
522
                    if ( row.first_hold ) {
522
                    if ( row.first_hold ) {
523
                        if ( row.first_hold.waiting_date ) {
523
                        if ( row.first_hold.waiting_date ) {
524
                            if ( row.first_hold.desk ) {
524
                            if ( row.first_hold.desk ) {
525
                                nodes += '<span class="waitingat">%s</span>'.format(_("Waiting at %s, %s since %s.".format(row.first_hold._strings.pickup_library_id.str, row.first_hold.desk.desk_name, $date(row.first_hold.waiting_date))));
525
                                nodes += '<span class="waitingat">%s</span>'.format(_("Waiting at %s, %s since %s.").format(row.first_hold._strings.pickup_library_id.str, row.first_hold.desk.desk_name, $date(row.first_hold.waiting_date)));
526
                            } else {
526
                            } else {
527
                                nodes += '<span class="waitingat">%s</span>'.format(_("Waiting at %s since %s.".format(row.first_hold._strings.pickup_library_id.str, $date(row.first_hold.waiting_date))));
527
                                nodes += '<span class="waitingat">%s</span>'.format(_("Waiting at %s since %s.").format(row.first_hold._strings.pickup_library_id.str, $date(row.first_hold.waiting_date)));
528
                            }
528
                            }
529
                            [% IF Koha.Preference('canreservefromotherbranches') %]
529
                            [% IF Koha.Preference('canreservefromotherbranches') %]
530
                                if ( row.first_hold.waiting_date || row.first_hold.priority == 1 ) {
530
                                if ( row.first_hold.waiting_date || row.first_hold.priority == 1 ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc (-1 / +1 lines)
Lines 38-44 Link Here
38
            }
38
            }
39
39
40
            if ( name.replace(' ', '').length == 0 ) {
40
            if ( name.replace(' ', '').length == 0 ) {
41
                return _("A patron from %s".format(patron.library.name));
41
                return _("A patron from %s").format(patron.library.name);
42
            }
42
            }
43
43
44
            if ( config && config.hide_patron_name ) {
44
            if ( config && config.hide_patron_name ) {
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-1 / +1 lines)
Lines 386-392 function LoadIssuesTable() { Link Here
386
                    } else if ( oObj.can_renew_error == "on_reserve" ) {
386
                    } else if ( oObj.can_renew_error == "on_reserve" ) {
387
                        return "<a href='/cgi-bin/koha/reserve/request.pl?biblionumber=" + oObj.biblionumber + "'>" + __("On hold") + "</a>";
387
                        return "<a href='/cgi-bin/koha/reserve/request.pl?biblionumber=" + oObj.biblionumber + "'>" + __("On hold") + "</a>";
388
                    } else if ( oObj.materials ) {
388
                    } else if ( oObj.materials ) {
389
                        return __("Confirm (%s)".format(oObj.materials.escapeHtml()));
389
                        return __("Confirm (%s)").format(oObj.materials.escapeHtml());
390
                    } else {
390
                    } else {
391
                        return "<input type='checkbox' class='checkin' id='checkin_" + oObj.itemnumber + "' name='checkin' value='" + oObj.itemnumber +"'></input>";
391
                        return "<input type='checkbox' class='checkin' id='checkin_" + oObj.itemnumber + "' name='checkin' value='" + oObj.itemnumber +"'></input>";
392
                    }
392
                    }
(-)a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js (-3 / +2 lines)
Lines 149-155 $(document).ready(function () { Link Here
149
        var search_field_name = $(line).find('input[data-id="search_field_name"]').val();
149
        var search_field_name = $(line).find('input[data-id="search_field_name"]').val();
150
        let already_exists = dt.data().filter((row, idx) => row[0]['@data-order'] === search_field_name);
150
        let already_exists = dt.data().filter((row, idx) => row[0]['@data-order'] === search_field_name);
151
        if ( already_exists.length ) {
151
        if ( already_exists.length ) {
152
            alert(__("Search field '%s' already exists".format(search_field_name)));
152
            alert(__("Search field '%s' already exists").format(search_field_name));
153
            return;
153
            return;
154
        }
154
        }
155
        if (search_field_name.length > 0) {
155
        if (search_field_name.length > 0) {
Lines 171-177 $(document).ready(function () { Link Here
171
        let dt_data = dt.data();
171
        let dt_data = dt.data();
172
        let already_exists = dt_data.filter((row, idx) => row[1] === search_field_name);
172
        let already_exists = dt_data.filter((row, idx) => row[1] === search_field_name);
173
        if ( already_exists.length ) {
173
        if ( already_exists.length ) {
174
            alert(__("Facet '%s' already exists".format(search_field_name)));
174
            alert(__("Facet '%s' already exists").format(search_field_name));
175
            return;
175
            return;
176
        }
176
        }
177
        if (search_field_name.length > 0) {
177
        if (search_field_name.length > 0) {
178
- 

Return to bug 38450