lp1855780 remove unnecessary whitespace
authorJane Sandberg <sandbergja@gmail.com>
Wed, 17 Nov 2021 19:22:16 +0000 (11:22 -0800)
committerJane Sandberg <sandbergja@gmail.com>
Wed, 17 Nov 2021 19:55:12 +0000 (11:55 -0800)
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/eg2/src/app/staff/admin/local/triggers/trigger-edit.component.html
Open-ILS/src/eg2/src/app/staff/admin/local/triggers/triggers.component.html

index 92fddbb..cee9987 100644 (file)
         <ng-template ngbNavContent>
             <ng-template #textAreaTemplate let-field="field" let-record="record">
                 <textarea class="form-control" name="{{field.name}}"
-                    [readonly]="field.readOnly" [required]="field.isRequired()" 
-                    [ngModel]="record[field.name]()" 
+                    [readonly]="field.readOnly" [required]="field.isRequired()"
+                    [ngModel]="record[field.name]()"
                     (ngModelChange)="record[field.name]($event)" style="height: 600px;">
                 </textarea>
             </ng-template>
-            <eg-fm-record-editor #eventDialog idlClass="atevdef" displayMode="inline" 
-                recordId="{{this.evtDefId}}" mode="update" 
+            <eg-fm-record-editor #eventDialog idlClass="atevdef" displayMode="inline"
+                recordId="{{this.evtDefId}}" mode="update"
                 [fieldOptions]="{message_template:{customTemplate:{template:textAreaTemplate}},template:{customTemplate:{template:textAreaTemplate}}}"
                 fieldOrder="owner,name,hook,active,delay,delay_field,group_field,reactor,validator,repeat_delay,id,cleanup_failure,granularity,max_delay,message_library_path,message_template,message_title,message_usr_path,opt_in_setting,usr_field,retention_interval,cleanup_success,template">
             </eg-fm-record-editor>
         <a ngbNavLink i18n>Edit Environment</a>
         <ng-template ngbNavContent>
             <h3 class="mb-3">Trigger Event Environment</h3>
-            <eg-grid #envGrid idlClass="atenv" [dataSource]="envDataSource" 
+            <eg-grid #envGrid idlClass="atenv" [dataSource]="envDataSource"
                 showFields="path,collector,label" persistKey="admin.local.triggers.atenv"
                 (onRowActivate)="editSelected([$event])">
                 <eg-grid-toolbar-button label="New Environment" i18n-label
                     [action]="createNewEnv"></eg-grid-toolbar-button>
-                <eg-grid-toolbar-action label="Edit Environment" i18n-label 
+                <eg-grid-toolbar-action label="Edit Environment" i18n-label
                     [action]="editSelected"></eg-grid-toolbar-action>
-                <eg-grid-toolbar-action label="Delete Selected" i18n-label 
+                <eg-grid-toolbar-action label="Delete Selected" i18n-label
                     (onClick)="deleteSelected($event)"></eg-grid-toolbar-action>
             </eg-grid>
             <eg-fm-record-editor #envDialog idlClass="atenv"
         <a ngbNavLink i18n>Edit Parameters</a>
         <ng-template ngbNavContent>
             <h3 class="mb-3">Trigger Event Parameters</h3>
-            <eg-grid #paramGrid idlClass="atevparam" [dataSource]="paramDataSource" 
+            <eg-grid #paramGrid idlClass="atevparam" [dataSource]="paramDataSource"
                 persistKey="admin.local.triggers.atevparam"
                 showFields="param,value" (onRowActivate)="editSelected([$event])">
                 <eg-grid-toolbar-button label="New Parameter" i18n-label
                     [action]="createNewParam"></eg-grid-toolbar-button>
-                <eg-grid-toolbar-action label="Edit Parameter" i18n-label 
+                <eg-grid-toolbar-action label="Edit Parameter" i18n-label
                     [action]="editSelected"></eg-grid-toolbar-action>
-                <eg-grid-toolbar-action label="Delete Selected" i18n-label 
+                <eg-grid-toolbar-action label="Delete Selected" i18n-label
                     (onClick)="deleteSelected($event)"></eg-grid-toolbar-action>
             </eg-grid>
             <eg-fm-record-editor #paramDialog idlClass="atevparam"
@@ -66,7 +66,7 @@
         <ng-template ngbNavContent>
             <h3 class="mb-3">Run Tests</h3>
             <label id="barcode">Barcode of Circulating Copy </label>
-            <input aria-labelledby="barcode" type="text" [(ngModel)]="barcode" 
+            <input aria-labelledby="barcode" type="text" [(ngModel)]="barcode"
                 (keyup.enter)="runTest(barcode)" class="ml-2" />
             <div></div>
             <button class="btn btn-info" (click)="runTest(barcode)" i18n>Go</button>
index 830f8aa..9ef4bb1 100644 (file)
@@ -3,7 +3,7 @@
 
 <ng-template #textAreaTemplate let-field="field" let-record="record">
     <textarea class="form-control" name="{{field.name}}" [readonly]="field.readOnly"
-        [required]="field.isRequired()" [ngModel]="record[field.name]()" 
+        [required]="field.isRequired()" [ngModel]="record[field.name]()"
         (ngModelChange)="record[field.name]($event)" style="height: 600px;">
     </textarea>
 </ng-template>
@@ -13,9 +13,9 @@
     [remainOpenOnError]="true"
     hiddenFields="id">
 </eg-fm-record-editor>
-<eg-fm-record-editor #hookDialog idlClass="ath"></eg-fm-record-editor>        
-<eg-fm-record-editor #reactorDialog idlClass="atreact"></eg-fm-record-editor>        
-<eg-fm-record-editor #validatorDialog idlClass="atval"></eg-fm-record-editor>        
+<eg-fm-record-editor #hookDialog idlClass="ath"></eg-fm-record-editor>
+<eg-fm-record-editor #reactorDialog idlClass="atreact"></eg-fm-record-editor>
+<eg-fm-record-editor #validatorDialog idlClass="atval"></eg-fm-record-editor>
 
 <ul ngbNav #triggerNav="ngbNav" [activeId]="triggerTab" class="nav-tabs"
     (navChange)="onTabChange($event)">
       <a ngbNavLink i18n>Event Definitions</a>
       <ng-template ngbNavContent>
         <h4 class="mb-3 mt-3">Trigger Event Definitions</h4>
-        <eg-grid #eventsGrid idlClass="atevdef" [dataSource]="eventsDataSource" 
+        <eg-grid #eventsGrid idlClass="atevdef" [dataSource]="eventsDataSource"
             showFields="owner,name,hook,active,delay,delay_field,group_field,reactor,validator,repeat_delay,granularity,retention_interval"
             [showLinkSelectors]="true" [sortable]="true" [stickyHeader]="true" persistKey="admin.local.triggers.atevdef"
             (onRowActivate)="editSelected([$event])" [filterable]="true">
             <eg-grid-toolbar-button label="New Event Definition" i18n-label
                 [action]="createNewEvent"></eg-grid-toolbar-button>
-            <eg-grid-toolbar-action label="Edit Event Definition" i18n-label 
+            <eg-grid-toolbar-action label="Edit Event Definition" i18n-label
                 [action]="editEventDefinition"></eg-grid-toolbar-action>
-            <eg-grid-toolbar-action label="Clone Selected" i18n-label 
+            <eg-grid-toolbar-action label="Clone Selected" i18n-label
                 [action]="cloneSelected"></eg-grid-toolbar-action>
-            <eg-grid-toolbar-action label="Delete Selected" i18n-label 
+            <eg-grid-toolbar-action label="Delete Selected" i18n-label
                 (onClick)="deleteSelected($event)"></eg-grid-toolbar-action>
             <eg-grid-column i18n-label label="Owning Library" path="owner">
             </eg-grid-column>
@@ -70,9 +70,9 @@
                 (onRowActivate)="editSelected([$event])" [sortable]="true" [filterable]="true">
                 <eg-grid-toolbar-button label="New Hook" i18n-label [action]="createNewHook">
                 </eg-grid-toolbar-button>
-                <eg-grid-toolbar-action label="Edit Selected" i18n-label 
+                <eg-grid-toolbar-action label="Edit Selected" i18n-label
                     [action]="editSelected"></eg-grid-toolbar-action>
-                <eg-grid-toolbar-action label="Delete Selected" i18n-label 
+                <eg-grid-toolbar-action label="Delete Selected" i18n-label
                     (onClick)="deleteSelected($event)"></eg-grid-toolbar-action>
             </eg-grid>
       </ng-template>
         <h4 class="mb-3 mt-3">Trigger Reactors</h4>
             <eg-grid #reactorsGrid idlClass="atreact" [dataSource]="reactorsDataSource"
               (onRowActivate)="editSelected([$event])" [sortable]="true" [filterable]="true">
-                <eg-grid-toolbar-button label="New Reactor" i18n-label 
+                <eg-grid-toolbar-button label="New Reactor" i18n-label
                     [action]="createNewReactor"></eg-grid-toolbar-button>
-                <eg-grid-toolbar-action label="Edit Selected" i18n-label 
+                <eg-grid-toolbar-action label="Edit Selected" i18n-label
                     [action]="editSelected"></eg-grid-toolbar-action>
-                <eg-grid-toolbar-action label="Delete Selected" i18n-label 
+                <eg-grid-toolbar-action label="Delete Selected" i18n-label
                     (onClick)="deleteSelected($event)"></eg-grid-toolbar-action>
             </eg-grid>
       </ng-template>
             <h4 class="mb-3 mt-3">Trigger Validators</h4>
             <eg-grid #validatorsGrid idlClass="atval" [dataSource]="validatorsDataSource"
                 (onRowActivate)="editSelected([$event])" [sortable]="true" [filterable]="true">
-                <eg-grid-toolbar-button label="New Validator" i18n-label 
+                <eg-grid-toolbar-button label="New Validator" i18n-label
                     [action]="createNewValidator"></eg-grid-toolbar-button>
-                <eg-grid-toolbar-action label="Edit Selected" i18n-label 
+                <eg-grid-toolbar-action label="Edit Selected" i18n-label
                     [action]="editSelected"></eg-grid-toolbar-action>
-                <eg-grid-toolbar-action label="Delete Selected" i18n-label 
+                <eg-grid-toolbar-action label="Delete Selected" i18n-label
                     (onClick)="deleteSelected($event)"></eg-grid-toolbar-action>
             </eg-grid>
         </ng-template>