[Checkins] SVN: zc.table/trunk/src/zc/table/batching.p remove unnecessary name

Fred L. Drake, Jr. fdrake at gmail.com
Wed Jun 28 11:52:11 EDT 2006


Log message for revision 68882:
  remove unnecessary name

Changed:
  U   zc.table/trunk/src/zc/table/batching.pt
  U   zc.table/trunk/src/zc/table/batching.py

-=-
Modified: zc.table/trunk/src/zc/table/batching.pt
===================================================================
--- zc.table/trunk/src/zc/table/batching.pt	2006-06-28 13:46:15 UTC (rev 68881)
+++ zc.table/trunk/src/zc/table/batching.pt	2006-06-28 15:52:11 UTC (rev 68882)
@@ -1,6 +1,6 @@
 <script type="text/javascript" lang="Javascript1.1">
 
-  function zc_intranet_table_batching_do_it(el, direction) {
+  function zc_table_batching_do_it(el, direction) {
     var element_name = el.attributes.batch_change_name.value;
     var element = document.getElementById(element_name);
     element.value = direction;
@@ -26,29 +26,29 @@
         (view.items and (
             (view.previous_batch_start is not None) or
             (view.next_batch_start is not None)))"
-    i18n:domain="zc.intranet"
-    class="zc-intranet-table-batching-pager">
+    i18n:domain="zc.table"
+    class="zc-table-batching-pager">
   <a
       style="margin-right: 1ex"
       tal:attributes="batch_change_name view/batch_change_name"
       tal:condition="python: view.previous_batch_start is not None"
-      onclick="javascript:zc_intranet_table_batching_do_it(this, 'back');"
-      class="zc-intranet-table-batching-pager-prev"
+      onclick="javascript:zc_table_batching_do_it(this, 'back');"
+      class="zc-table-batching-pager-prev"
       >&lt; <span i18n:translate="">Prev</span></a>
   <span
       style="margin-right: 1ex"
       tal:condition="python: view.previous_batch_start is None"
-      class="zc-intranet-table-batching-pager-prev"
+      class="zc-table-batching-pager-prev"
       >&lt; <span i18n:translate="">Prev</span></span>
   <a
       tal:attributes="batch_change_name view/batch_change_name"
       tal:condition="python: view.next_batch_start is not None"
-      onclick="javascript:zc_intranet_table_batching_do_it(this, 'next')"
-      class="zc-intranet-table-batching-pager-next"
+      onclick="javascript:zc_table_batching_do_it(this, 'next')"
+      class="zc-table-batching-pager-next"
       ><span i18n:translate="">Next</span> &gt;</a>
   <span
       style="margin-right: 1ex"
       tal:condition="python: view.next_batch_start is None"
-      class="zc-intranet-table-batching-pager-next"
+      class="zc-table-batching-pager-next"
       ><span i18n:translate="">Next</span> &gt;</span>
 </div>

Modified: zc.table/trunk/src/zc/table/batching.py
===================================================================
--- zc.table/trunk/src/zc/table/batching.py	2006-06-28 13:46:15 UTC (rev 68881)
+++ zc.table/trunk/src/zc/table/batching.py	2006-06-28 15:52:11 UTC (rev 68882)
@@ -33,7 +33,7 @@
             batch_size = 20
 
         if prefix is None:
-            prefix = 'zc.intranet.table'
+            prefix = 'zc.table'
 
         super(Formatter, self).__init__(
             context, request, items, visible_column_names,



More information about the Checkins mailing list