Author: jleroux
Date: Fri Oct 25 11:39:58 2013
New Revision: 1535703

URL: http://svn.apache.org/r1535703
Log:
No functional changes, just formatting

Modified:
    
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl

Modified: 
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl?rev=1535703&r1=1535702&r2=1535703&view=diff
==============================================================================
--- 
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl
 (original)
+++ 
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl
 Fri Oct 25 11:39:58 2013
@@ -54,31 +54,31 @@ under the License.
 </script>
 <br />
 <#macro paginationControls>
-    <#assign viewIndexMax = Static["java.lang.Math"].ceil((listSize)?double / 
viewSize?double)>
-      <#if (viewIndexMax?int >= 1)>
-        <div class="product-prevnext">
-            <#-- Start Page Select Drop-Down -->
-            <select name="pageSelect" 
onchange="callDocumentByPaginate(this[this.selectedIndex].value);">
-                <option value="#">${uiLabelMap.CommonPage} ${viewIndex?int} 
${uiLabelMap.CommonOf} ${viewIndexMax}</option>
-                <#if (viewIndex?int > 1)>
-                    <#list 0..viewIndexMax as curViewNum>
-                         <option 
value="${shoppingListId?if_exists}~${viewSize}~${curViewNum?int + 
1}">${uiLabelMap.CommonGotoPage} ${curViewNum + 1}</option>
-                    </#list>
-                </#if>
-            </select>
-            <#-- End Page Select Drop-Down -->
-            
+  <#assign viewIndexMax = Static["java.lang.Math"].ceil((listSize)?double / 
viewSize?double)>
+  <#if (viewIndexMax?int >= 1)>
+    <div class="product-prevnext">
+        <#-- Start Page Select Drop-Down -->
+        <select name="pageSelect" 
onchange="callDocumentByPaginate(this[this.selectedIndex].value);">
+            <option value="#">${uiLabelMap.CommonPage} ${viewIndex?int} 
${uiLabelMap.CommonOf} ${viewIndexMax}</option>
             <#if (viewIndex?int > 1)>
-                <a href="javascript: void(0);" 
onclick="callDocumentByPaginate('${shoppingListId?if_exists}~${viewSize}~${viewIndex?int
 - 1}');" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
-            </#if>
-            <#if ((listSize?int - viewSize?int) > 0)>
-                <span>${lowIndex} - ${highIndex} ${uiLabelMap.CommonOf} 
${listSize}</span>
+                <#list 0..viewIndexMax as curViewNum>
+                     <option 
value="${shoppingListId?if_exists}~${viewSize}~${curViewNum?int + 
1}">${uiLabelMap.CommonGotoPage} ${curViewNum + 1}</option>
+                </#list>
             </#if>
-            <#if highIndex?int < listSize?int>
-             | <a href="javascript: void(0);" 
onclick="callDocumentByPaginate('${shoppingListId?if_exists}~${viewSize}~${viewIndex?int
 + 1}');" class="buttontext">${uiLabelMap.CommonNext}</a>
-            </#if>
-        </div>
-    </#if>
+        </select>
+        <#-- End Page Select Drop-Down -->
+        
+        <#if (viewIndex?int > 1)>
+            <a href="javascript: void(0);" 
onclick="callDocumentByPaginate('${shoppingListId?if_exists}~${viewSize}~${viewIndex?int
 - 1}');" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
+        </#if>
+        <#if ((listSize?int - viewSize?int) > 0)>
+            <span>${lowIndex} - ${highIndex} ${uiLabelMap.CommonOf} 
${listSize}</span>
+        </#if>
+        <#if highIndex?int < listSize?int>
+         | <a href="javascript: void(0);" 
onclick="callDocumentByPaginate('${shoppingListId?if_exists}~${viewSize}~${viewIndex?int
 + 1}');" class="buttontext">${uiLabelMap.CommonNext}</a>
+        </#if>
+    </div>
+</#if>
 </#macro>
 
 <div class="screenlet">


Reply via email to