]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1739277 Angular org selector style callback
authorBill Erickson <berickxx@gmail.com>
Tue, 30 Jul 2019 16:12:12 +0000 (12:12 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Wed, 17 Nov 2021 22:50:39 +0000 (14:50 -0800)
commitd51454b497e1d7ea01ebeac533259820f4a6786e
treed094f1863b272b15e372b4b403be1e4d9723bd5d
parent654b02f1e9c1ee6f14a5d43233ef675b5684f1be
LP1739277 Angular org selector style callback

Allow the caller of an <eg-org-select> to pass a function which is
called against each org unit in the list to determine what CSS class(es)
should be applied to the org unit label in the list.

Includes sandbox example.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jennifer Bruch <jbruch@sparkpa.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.html
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts