]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
LP1825891 Use Hatch 'hostname' for workstation reg.
authorBill Erickson <berickxx@gmail.com>
Mon, 22 Apr 2019 21:02:05 +0000 (14:02 -0700)
committerDan Scott <dan@coffeecode.net>
Fri, 3 Jan 2020 19:31:27 +0000 (14:31 -0500)
commit5e8a87936ea69ccecc16540d1a1980a61ad6ae41
tree58248bec3a997707f30d3cc2316ead8257f0b13f
parent14bcb00a0a5e4abc3105382afbaea54db216d5f1
LP1825891 Use Hatch 'hostname' for workstation reg.

Populate the workstation name with the hostname of the PC when
registring a new workstation for Hatch-enabled workstations.

Note the code gracefully returns null if Hatch returns a 404 (not found)
or Hatch is not active.

Updates the AngJS and Angular workstation admin pages to load the
hostname value when possible.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@eoli.info>
Open-ILS/src/eg2/src/app/core/hatch.service.ts
Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/workstations.component.ts
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js
Open-ILS/web/js/ui/default/staff/services/hatch.js