LP1809288 Angular fm-editor read-only additions
authorBill Erickson <berickxx@gmail.com>
Thu, 3 Jan 2019 15:17:42 +0000 (10:17 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 25 Jan 2019 17:08:16 +0000 (12:08 -0500)
commitb901a7e97d7e7be96aceb8cff3cbec6ac83b6cc6
tree807077f803d253d54cc93eac0a08b034651b1beb
parent2e60910340c3d7c55685e6421f4749f86092e19c
LP1809288 Angular fm-editor read-only additions

* Add read-only view to org-select
* FM editor displays read-only values as plain text
* Mark readOnly checkboxes "disabled"
* Link fields only fetch linked data when an IDL selector exists
* Minor code/style changes
** Define all class vars before class methods (ng-lint)
** Replace some tabs with spaces (ng-lint)
** Avoid unnecessary type defs with default values (ng-lint)
** More const goodness (ng-lint)
** camelCase some vars for consistentcy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts
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/admin/basic-admin-page.component.ts