]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1840327: port standing penalty admin interface to Angular
authorMike Risher <mrisher@catalyte.io>
Tue, 20 Aug 2019 20:29:23 +0000 (20:29 +0000)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 6 Sep 2019 17:42:50 +0000 (13:42 -0400)
commit36a39ad2c720c930139f07214094496593be78ff
tree4ce0bd210ad68efad9ab8c429763fa7b90b9244c
parentc839ede49b09f6f24c31f293f1d49f4a8dc53f82
LP#1840327: port standing penalty admin interface to Angular

Convert standing penalty types admin UI from DOJO to Angular. Name
field is read only if the ID is below 100.  Doing this involved:

- creating a new standing penalty component
- using rowFlairCallback functionality in the grid, so that an icon
  and tooltip is shown for fields where the name cannot be edited
- making the ID show up in red text when it is below 100
- adding "readonly Override" functionality to fm-editor, so that
  some fields of a given type are read only, but others are not

Signed-off-by: Mike Risher <mrisher@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts
Open-ILS/src/eg2/src/app/staff/admin/local/admin-local-splash.component.html
Open-ILS/src/eg2/src/app/staff/admin/local/admin-local.module.ts
Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts
Open-ILS/src/eg2/src/app/staff/admin/local/standing-penalty.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/admin/local/standing-penalty.component.ts [new file with mode: 0644]