fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12643]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12643]
Date: Tue, 20 Jan 2015 23:12:30 +0000

Revision: 12643
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12643
Author:   nelson224
Date:     2015-01-20 23:12:30 +0000 (Tue, 20 Jan 2015)
Log Message:
-----------


Modified Paths:
--------------
    
branches/dev-syncromind/property/templates/base/condition_survey_summation.xsl

Modified: 
branches/dev-syncromind/property/templates/base/condition_survey_summation.xsl
===================================================================
--- 
branches/dev-syncromind/property/templates/base/condition_survey_summation.xsl  
    2015-01-20 23:12:08 UTC (rev 12642)
+++ 
branches/dev-syncromind/property/templates/base/condition_survey_summation.xsl  
    2015-01-20 23:12:30 UTC (rev 12643)
@@ -114,7 +114,21 @@
                                <xsl:for-each select="$ColumnDefs">
                                {
                                        data:                   "<xsl:value-of 
select="key"/>",
-                                       class:                  "<xsl:value-of 
select="className"/>",
+                                       <xsl:if test="className">
+                                               <xsl:choose>
+                                                       <xsl:when 
test="className">
+                                                               <xsl:if 
test="className ='right'">
+                                                                       class:  
'dt-right',
+                                                               </xsl:if>
+                                                               <xsl:if 
test="className ='center'">
+                                                                       class:  
'dt-center',
+                                                               </xsl:if>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                                       class:  
'dt-left',
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:if>
                                        orderable:              <xsl:value-of 
select="phpgw:conditional(not(sortable = 0), 'true', 'false')"/>,
                                        <xsl:choose>
                                                <xsl:when test="hidden">
@@ -189,7 +203,8 @@
                                        data.reduce(function (a, b){
                                                        return intVal(a) + 
intVal(b);
                                        }) : 0;
-
+                               
+                               pageTotal = $.number( pageTotal, 0, ',', ' ' );
                                $(api.column(col).footer()).html(pageTotal);    
                        });     
                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]