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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-4 / +9 lines)
Lines 2781-2786 td.bundle { Link Here
2781
            }
2781
            }
2782
        }
2782
        }
2783
    }
2783
    }
2784
2785
    .badge {
2786
        font-size: 90%;
2787
    }
2784
}
2788
}
2785
2789
2786
.ui-autocomplete-loading {
2790
.ui-autocomplete-loading {
Lines 4337-4347 div .suggestion_note { Link Here
4337
4341
4338
.ac-library {
4342
.ac-library {
4339
    background-color: #EEE !important;
4343
    background-color: #EEE !important;
4340
    border-radius: 4px;
4344
    font-weight: normal;
4341
    color: #000;
4345
    color: #000;
4342
    display: inline-block;
4343
    font-size: 80%;
4344
    padding: 1px 4px !important;
4345
}
4346
}
4346
4347
4347
.ac-currentlibrary {
4348
.ac-currentlibrary {
Lines 4351-4356 div .suggestion_note { Link Here
4351
    }
4352
    }
4352
}
4353
}
4353
4354
4355
.badge + .badge {
4356
    margin-left: .3rem;
4357
}
4358
4354
.currentlibrary {
4359
.currentlibrary {
4355
    background-color: #E6FCB7 !important;
4360
    background-color: #E6FCB7 !important;
4356
    display: inline-block;
4361
    display: inline-block;
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-7 / +10 lines)
Lines 694-700 function patron_autocomplete(node, options) { Link Here
694
                    " " +
694
                    " " +
695
                    (item.other_name ? "(" + item.other_name.escapeHtml() + ")" : "") +
695
                    (item.other_name ? "(" + item.other_name.escapeHtml() + ")" : "") +
696
                    cardnumber.escapeHtml() +
696
                    cardnumber.escapeHtml() +
697
                    " <small>" +
697
                    " " +
698
                    (item.date_of_birth
698
                    (item.date_of_birth
699
                        ? $date(item.date_of_birth) +
699
                        ? $date(item.date_of_birth) +
700
                          '<span class="age_years"> (' +
700
                          '<span class="age_years"> (' +
Lines 710-724 function patron_autocomplete(node, options) { Link Here
710
                    }) +
710
                    }) +
711
                    " " +
711
                    " " +
712
                    (!singleBranchMode
712
                    (!singleBranchMode
713
                        ? '<span class="ac-library">' +
713
                        ? '<span class="badge ac-library">' +
714
                          item.library.name.escapeHtml() +
714
                          item.library.name.escapeHtml() +
715
                          "</span>"
715
                          "</span>"
716
                        : "") +
716
                        : "") +
717
                    "</small>" +
718
                    (expired
717
                    (expired
719
                        ? '<small><span class="circ-hlt">' +
718
                        ? '<span class="badge text-bg-warning">' +
720
                          __("expired") +
719
                          __("Expired") +
721
                          "</span></small>"
720
                          "</span>"
721
                        : "") +
722
                    (item.restricted
723
                        ? '<span class="badge text-bg-danger">' +
724
                          __("Restricted") +
725
                          "</span>"
722
                        : "") +
726
                        : "") +
723
                    "</a>"
727
                    "</a>"
724
            )
728
            )
725
- 

Return to bug 36454