From: berick Date: Mon, 25 Apr 2011 20:34:54 +0000 (-0400) Subject: added new stub actions for limit-to-import-errors and show all item import errors... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a8f7f42453896dc97af0d51729a1a04ea7b3e900;p=evergreen%2Fmasslnc.git added new stub actions for limit-to-import-errors and show all item import errors; displaying new summary info; much rearrangement to bettet fit the UI pieces --- diff --git a/Open-ILS/web/css/skin/default/vandelay.css b/Open-ILS/web/css/skin/default/vandelay.css index 7476377682..1f0303a496 100644 --- a/Open-ILS/web/css/skin/default/vandelay.css +++ b/Open-ILS/web/css/skin/default/vandelay.css @@ -34,3 +34,16 @@ table.dijitTooltipTable { border-collapse: separate; } #vl-import-error-record td:first-child { text-decoration: underline; } #vl-import-error-record td { padding: 5px; } #vl-error-import-error { font-weight: bold; } + +#vl-queue-filter-fieldset { padding-top: 3px; border:2px dashed #d9e8f9; } +#vl-queue-filter-fieldset { margin: 5px; } +#vl-queue-filter-fieldset td { padding: 5px; } +#vl-queue-filter-fieldset th { padding: 5px; } +#vl-queue-filter-fieldset legend { font-weight: bold; font-size: 1.3em } + +#vl-queue-filter-table { margin-left: 15px; padding-left: 15px; border-left: 2px dashed #d9e8f9;} +#vl-queue-summary-table { margin-left: 15px; padding-left: 15px; border-left: 2px dashed #d9e8f9;} +.queue-nav-table tr:nth-child(even) {background: #EEE} +.queue-nav-table-label { font-weight: bold; text-decoration:underline;} +.queue-pager-span { padding-right: 5px; margin-right: 5px; border-right: 2px solid #e8e1cf; } +#vl-queue-paging-table td { padding-bottom: 0px; } diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js index 490d84c395..b6022c2e86 100644 --- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js +++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js @@ -865,6 +865,9 @@ var handleRetrieveRecords = function() { dojo.byId('vl-queue-summary-name').innerHTML = summary.queue.name(); dojo.byId('vl-queue-summary-total-count').innerHTML = summary.total +''; dojo.byId('vl-queue-summary-import-count').innerHTML = summary.imported + ''; + dojo.byId('vl-queue-summary-import-item-count').innerHTML = summary.total_items + ''; + dojo.byId('vl-queue-summary-rec-error-count').innerHTML = summary.rec_import_errors + ''; + dojo.byId('vl-queue-summary-item-error-count').innerHTML = summary.item_import_errors + ''; } ); } diff --git a/Open-ILS/web/opac/locale/en-US/vandelay.dtd b/Open-ILS/web/opac/locale/en-US/vandelay.dtd index 31fdc67e12..e94f8c719a 100644 --- a/Open-ILS/web/opac/locale/en-US/vandelay.dtd +++ b/Open-ILS/web/opac/locale/en-US/vandelay.dtd @@ -36,22 +36,23 @@ - - + + - + + - + - + @@ -60,7 +61,7 @@ - + @@ -106,7 +107,7 @@ - - + + diff --git a/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 b/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 index 4308898fbc..25e22a228c 100644 --- a/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 +++ b/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 @@ -1,66 +1,109 @@ -
- - - - - -
-

&vandelay.record.queue;


-
- &vandelay.queue.total; - &vandelay.queue.imported; -
-
- -
- -
-
- - +
+
+ Queue +
+
+ - - - - - - - - - - - - - - - - - - - -
&vandelay.auto.import.noncolliding; - + + + + + + + + + +
Queue Actions
&vandelay.import.selected;
&vandelay.import.all;
View Item Import Failures
&vandelay.delete.queue;
&vandelay.auto.import.auto_overlay_exact; - -
&vandelay.auto.import.auto_overlay_1match; - -
&vandelay.auto.import.merge_profile; -
-
- + + + + + + + + + + + +
Queue Summary
&vandelay.queue.total;
&vandelay.queue.imported;
Record Import Failures
Items in Queue
Item Import Failures
- + + + + + + + + + + + + + + + + + + +
Queue Filters
&vandelay.limit.to.collision.matches; + +
&vandelay.limit.to.non.imported; + +
&vandelay.limit.to.import_error; + +
- +
+ + + + + + + +
+ &vandelay.results.per.page; + + + + + + &vandelay.page; + + + + + &vandelay.prev.page; + + + &vandelay.next.page; + +
+ + +
- +
@@ -158,7 +185,7 @@ get='vlGetViewErrors' formatter='vlFormatViewErrors' styles='text-align: center;' - nonSelectable='true'>Import Errors + nonSelectable='true'>Import Failures Import Errors + nonSelectable='true'>Import Failures
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
&vandelay.auto.import.noncolliding; + +
&vandelay.auto.import.auto_overlay_exact; + +
&vandelay.auto.import.auto_overlay_1match; + +
&vandelay.auto.import.merge_profile; +
+
+ + + +
+
+
+ +