[GIT] Evergreen ILS branch main updated. 52d12d1ebb801d0d921d4332704cfecbca2338c5

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, main has been updated via 52d12d1ebb801d0d921d4332704cfecbca2338c5 (commit) from 48bdcabf928785e0db9aa649c0b6a4714c3ffcdc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 52d12d1ebb801d0d921d4332704cfecbca2338c5 Author: Stephanie Leary <stephanie.leary@equinoxoli.org> Date: Fri Mar 14 04:18:49 2025 +0000 LP2018839 Clarify "name" label in create PO form Clarifies what the user is being asked to do with the name field in the create PO form. * Label changed from "Name (optional)" to "PO Name (optional)" * Explanation added about POs being numbered automatically if a name is not provided. * aria-describedby attribute added, listing both the new explanation and the error message shown if a duplicate name is entered (error first) Release-note: Clarify what the "name" label in create PO form refers to Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> diff --git a/Open-ILS/src/eg2/src/app/staff/acq/po/create.component.html b/Open-ILS/src/eg2/src/app/staff/acq/po/create.component.html index 3d58929dc6..a96b849bb0 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/po/create.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/po/create.component.html @@ -10,23 +10,28 @@ </span> <hr class="p-1" /> </div> - <div class="form-group"> + <div class="form-group mb-3"> <label class="form-label" for="order-agency-input" i18n>Ordering Agency</label> <eg-org-select (onChange)="orgChange($event)" domId="order-agency-input" [limitPerms]="['CREATE_PURCHASE_ORDER']"> </eg-org-select> </div> - <div class="form-group"> - <label class="form-label" for="name-input" i18n>Name (optional)</label> + <div class="form-group mb-3"> + <label class="form-label" for="name-input" i18n>PO Name (optional)</label> <input id="name-input" class="form-control" type="text" [ngModel]="poName" (ngModelChange)="poName = $event; checkDuplicatePoName()" + aria-describedby="name-dupe-error name-auto-number" /> + <p class="form-text" id="name-auto-number"> + You may enter a name for this PO for future reference. + POs without a name will be referenced by number. + </p> </div> - <div *ngIf="dupeResults.dupeFound" class="alert alert-warning" i18n> + <div *ngIf="dupeResults.dupeFound" id="name-dupe-error" class="alert alert-warning" i18n> This name is already in used by another PO: <a target="_blank" routerLink="/staff/acq/po/{{dupeResults.dupePoId}}">View PO</a> </div> - <div class="form-group"> + <div class="form-group mb-3"> <label class="form-label" for="name-input" i18n>Provider</label> <eg-combobox domId="provider-input" [(ngModel)]="provider" [asyncSupportsEmptyTermClick]="true" @@ -34,14 +39,14 @@ [idlQueryAnd]="{active: 't'}" idlClass="acqpro"> </eg-combobox> </div> - <div class="form-group form-check"> + <div class="form-group form-check mb-3"> <input type="checkbox" class="form-check-input" [(ngModel)]="prepaymentRequired" id="prepayment-required"> <label class="form-label form-check-label" for="prepayment-required" i18n> Prepayment Required </label> </div> - <div class="form-group form-check" *ngIf="lineitems.length"> + <div class="form-group form-check mb-3" *ngIf="lineitems.length"> <input type="checkbox" class="form-check-input" [(ngModel)]="createAssets" id="create-assets"> <label class="form-label form-check-label" for="create-assets" i18n> ----------------------------------------------------------------------- Summary of changes: .../eg2/src/app/staff/acq/po/create.component.html | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User