LP#1839341: Improve grid layouts
authorMike Rylander <mrylander@gmail.com>
Wed, 2 Feb 2022 21:55:30 +0000 (16:55 -0500)
committerJane Sandberg <sandbergja@gmail.com>
Thu, 13 Oct 2022 16:04:01 +0000 (09:04 -0700)
Correctly hide the ID column on the history grid, and disable tooltips
on action columns in both grids.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-setting-history-dialog.component.html
Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.html

index 082fdf2..5967c53 100644 (file)
             [disableSelect]="true" [disableMultiSelect]="true"
             [sortable]="false">
 
-            <eg-grid-column path="id" [index]=true label="ID" i18n-label hidden></eg-grid-column>
+            <eg-grid-column path="id" [index]=true label="ID" i18n-label [hidden]="true"></eg-grid-column>
             <eg-grid-column path="date_applied" label="Date Changed" datatype="timestamp" i18n-label></eg-grid-column>
             <eg-grid-column path="org.shortname" label="Location" i18n-label></eg-grid-column>
             <eg-grid-column path="original_value_str" label="Original Value" i18n-label></eg-grid-column>
             <eg-grid-column path="new_value_str" label="New Value" i18n-label></eg-grid-column>
             <eg-grid-column i18n-label label="Revert?" name="revert" 
-                [cellTemplate]="revertTemplate"></eg-grid-column>
+                [disableTooltip]="true" [cellTemplate]="revertTemplate"></eg-grid-column>
         </eg-grid>
       </div>
   </div>
@@ -36,4 +36,4 @@
         </a>
       </span>
     </ng-template>
-</ng-template>
\ No newline at end of file
+</ng-template>
index 4352a5b..2ad7679 100644 (file)
@@ -55,9 +55,9 @@
     persistKey="admin.actor.org_unit_settings">
 
     <eg-grid-column i18n-label label="Edit" name="edit" [flex]="1"
-      [cellTemplate]="editCellTemplate"></eg-grid-column>
+      [disableTooltip]="true" [cellTemplate]="editCellTemplate"></eg-grid-column>
     <eg-grid-column i18n-label label="History" name="history" [flex]="1"
-      [cellTemplate]="historyCellTemplate"></eg-grid-column>
+      [disableTooltip]="true" [cellTemplate]="historyCellTemplate"></eg-grid-column>
     <eg-grid-column path="name" label="Name" i18n-label [hidden]="true" [flex]="3"></eg-grid-column>
     <eg-grid-column path="grp" label="Group" i18n-label [flex]="1"></eg-grid-column>
     <eg-grid-column path="label" label="Setting" [index]="true" i18n-label [flex]="4"></eg-grid-column>