From b2dd0c3e7918092a38ae32fe9592d243d44218f5 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 7 Oct 2014 13:55:45 +0000 Subject: [PATCH] People starts to count at 1. --- .../web_page_module/rjs_gadget_erp5_listbox_js.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml index 6c548c3ab7..0ec80cb1b2 100644 --- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml @@ -277,9 +277,9 @@ if ((begin_from === 0) && (counter === 0)) {\n paging_info.textContent = "No records";\n } else if ((dataset.data.rows.length <= lines) && (begin_from === 0)) {\n - paging_info.textContent = counter + " records";\n + paging_info.textContent = counter + " record(s)";\n } else {\n - paging_info.textContent = "Records " + (((begin_from + lines) / lines - 1) * lines) + " to " + (((begin_from + lines) / lines - 1) * lines + counter);\n + paging_info.textContent = "Records " + (((begin_from + lines) / lines - 1) * lines + 1) + " to " + (((begin_from + lines) / lines - 1) * lines + counter);\n }\n // paging_info.textContent = "Page " + ((begin_from + lines) / lines);\n paging_next.className = "ui-btn ui-icon-carat-r ui-btn-icon-right ui-last-child";\n @@ -449,7 +449,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>938.4259.17102.18414</string> </value> + <value> <string>938.5956.58558.46011</string> </value> </item> <item> <key> <string>state</string> </key> @@ -467,7 +467,7 @@ </tuple> <state> <tuple> - <float>1412586621.73</float> + <float>1412689886.0</float> <string>GMT</string> </tuple> </state> -- 2.30.9