From bb2a65d91c4ad803efd45c2907307b3b3c544813 Mon Sep 17 00:00:00 2001 From: Galen Charlton <gmc@equinoxinitiative.org> Date: Wed, 31 Jul 2019 10:55:06 -0400 Subject: [PATCH] LP#1822414: (follow-up) remove au-linked fields sandbox editDialog Otherwise, the drop-downs for the User and Capture Staff fields will attempt to fetch all user IDs from the database, which would be awkward if attempted on a large database. Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org> --- .../src/app/share/date-select/date-select.component.css | 3 +++ .../src/eg2/src/app/staff/sandbox/sandbox.component.html | 16 +++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/date-select/date-select.component.css b/Open-ILS/src/eg2/src/app/share/date-select/date-select.component.css index 277f1314ce..e4ab7a0438 100644 --- a/Open-ILS/src/eg2/src/app/share/date-select/date-select.component.css +++ b/Open-ILS/src/eg2/src/app/share/date-select/date-select.component.css @@ -1,3 +1,6 @@ .eg-date-select { max-width: 11em; } +.material-icons { + font-size: 15px; +} diff --git a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html index a4af3368ba..f6df154702 100644 --- a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html +++ b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html @@ -250,10 +250,12 @@ <span i18n>Are you sure you want to confirm {numThings, plural, =1 {this thing} other {these {{numThings}} things}}?</span> </ng-template> -<eg-fm-record-editor #bresvEditor - idlClass="bresv" - readonlyFields="cancel_time"> -</eg-fm-record-editor> -<button class="btn btn-info" (click)="bresvEditor.open({})"> - Test Readonly Date -</button> +<div class="row"> + <eg-fm-record-editor #bresvEditor + idlClass="bresv" + hiddenFields="capture_staff,usr" readonlyFields="cancel_time"> + </eg-fm-record-editor> + <button class="btn btn-info" (click)="bresvEditor.open({})"> + Test Readonly Date + </button> +</div> -- 2.11.0