fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12828]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12828]
Date: Thu, 05 Mar 2015 23:42:31 +0000

Revision: 12828
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12828
Author:   nelson224
Date:     2015-03-05 23:42:30 +0000 (Thu, 05 Mar 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl

Modified: branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl
===================================================================
--- branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl        
2015-03-05 23:42:15 UTC (rev 12827)
+++ branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl        
2015-03-05 23:42:30 UTC (rev 12828)
@@ -376,7 +376,21 @@
                        <xsl:for-each select="//datatable/field">
                                {
                                        data:                   "<xsl:value-of 
select="key"/>",
-                                       class:                  "<xsl:value-of 
select="className"/>",
+                                       <xsl:if test="className">
+                                               <xsl:choose>
+                                                       <xsl:when 
test="className='right' or className='center'">
+                                                               <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:  
"<xsl:value-of select="className"/>",
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:if>
                                        orderable:              <xsl:value-of 
select="phpgw:conditional(not(sortable = 0), 'true', 'false')"/>,
                                        <xsl:choose>
                                                <xsl:when test="hidden">




reply via email to

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