From 47accef56fb6f6fd84a39fd4084fa98ebfaf138d Mon Sep 17 00:00:00 2001 From: Zavier Banks Date: Thu, 27 Feb 2020 20:30:15 +0000 Subject: [PATCH] LP 1855781 Circulation Policy Configuration I fixed some UI issues with the banners clipping some fields, the cancel button being too low, and the limit set name from showing the list. There is still an issue with the required fields however. Checkboxes and org unit selectors cannot be labeled as required. So there are fields that are required, but can't be labeled as such. Signed-off-by: Zavier Banks --- .../circ-matrix-matchpoint-dialog.component.html | 2 +- .../circ-matrix-matchpoint.component.html | 34 ++++++++++++---------- .../linked-circ-limit-sets.component.html | 2 ++ 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/circ-matrix-matchpoint-dialog.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/circ-matrix-matchpoint-dialog.component.html index 06861fc445..d21bcd5777 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/circ-matrix-matchpoint-dialog.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/circ-matrix-matchpoint-dialog.component.html @@ -2,7 +2,7 @@ diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/circ-matrix-matchpoint.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/circ-matrix-matchpoint.component.html index ae4d404f88..9bedaa58bb 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/circ-matrix-matchpoint.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/circ-matrix-matchpoint.component.html @@ -28,6 +28,7 @@ +
-
-
Circulation Policies
-
+
Circulation Policies
@@ -65,16 +65,19 @@ (ngModelChange)="record[field.name]($event)"/>
-
-
Circulation Policy Effects
-
+ textAlign:'center', + paddingTop:'3.5%', + paddingBottom:'5.5%', + paddingLeft:'3.5%', + paddingRight:'3.5%'}"> +
Circulation Policy Effects
@@ -84,6 +87,7 @@ readonlyFields="name" displayMode="inline" fieldOrder="id,active,grp,org_unit,copy_circ_lib,copy_owning_lib,user_home_ou,is_renewal,juvenile_flag,circ_modifier,copy_location,marc_type,marc_form,marc_bib_level,marc_vr_format,ref_flag,usr_age_lower_bound,usr_age_upper_bound,item_age,circulate,duration_rule,renewals,hard_due_date,recurring_fine_rule,grace_period,max_fine_rule,available_copy_hold_ratio,total_copy_hold_ratio,script_test,description" + requiredFields="active,grp,org_unit" (recordSaved)="configureLimitSets($event); clearLinkedCircLimitSets(); closeDialog()" [fieldOptions]="{active:{customTemplate:{template:active}}, item_age:{customTemplate:{template:item_age}}}"> diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/linked-circ-limit-sets.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/linked-circ-limit-sets.component.html index 9b3dbe0ba3..07ef8c52a3 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/linked-circ-limit-sets.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/circ_matrix_matchpoint/linked-circ-limit-sets.component.html @@ -53,6 +53,7 @@ name="linkedLimitName" idlClass="ccls" idlField="name" + asyncSupportsEmptyTermClick="true" (onChange)="onChange($event)"> @@ -63,6 +64,7 @@ (click)="addLinkedSet()" i18n-title title="Add" i18n>Add + -- 2.11.0