[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12639]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12639] |
Date: |
Tue, 20 Jan 2015 23:10:11 +0000 |
Revision: 12639
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12639
Author: nelson224
Date: 2015-01-20 23:10:10 +0000 (Tue, 20 Jan 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/phpgwapi/templates/base/datatable_inline.xsl
Modified: branches/dev-syncromind/phpgwapi/templates/base/datatable_inline.xsl
===================================================================
--- branches/dev-syncromind/phpgwapi/templates/base/datatable_inline.xsl
2015-01-20 23:09:46 UTC (rev 12638)
+++ branches/dev-syncromind/phpgwapi/templates/base/datatable_inline.xsl
2015-01-20 23:10:10 UTC (rev 12639)
@@ -58,6 +58,7 @@
</xsl:when>
<xsl:otherwise>
<th>
+ <xsl:value-of
select="value_footer"/>
</th>
</xsl:otherwise>
</xsl:choose>
@@ -217,7 +218,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">
@@ -276,16 +291,16 @@
}
<xsl:variable name="dataset">
- <xsl:choose>
+ <xsl:choose>
<xsl:when test="$data !=''">
- <xsl:value-of select="$data" />
+ <xsl:value-of select="$data" />
</xsl:when>
- <xsl:otherwise>
+ <xsl:otherwise>
<xsl:text>[]</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
- oTable<xsl:number value="($num - 1)"/> =
JqueryPortico.inlineTableHelper("<xsl:value-of select="$container"/>",
<xsl:value-of select="$requestUrl"/>, columns, options<xsl:number value="($num
- 1)"/> , <xsl:value-of select="$dataset"/>);
+ oTable<xsl:number value="($num - 1)"/> =
JqueryPortico.inlineTableHelper("<xsl:value-of select="$container"/>",
<xsl:value-of select="$requestUrl"/>, columns, options<xsl:number value="($num
- 1)"/> , <xsl:value-of select="$dataset"/>);
</script>
</xsl:template>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12639],
Nelson Guerra <=