[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15238]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [15238] |
Date: |
Wed, 1 Jun 2016 01:45:53 +0000 (UTC) |
Revision: 15238
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15238
Author: nelson224
Date: 2016-06-01 01:45:53 +0000 (Wed, 01 Jun 2016)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind-2/property/templates/base/location.xsl
Modified: branches/dev-syncromind-2/property/templates/base/location.xsl
===================================================================
--- branches/dev-syncromind-2/property/templates/base/location.xsl
2016-06-01 01:45:40 UTC (rev 15237)
+++ branches/dev-syncromind-2/property/templates/base/location.xsl
2016-06-01 01:45:53 UTC (rev 15238)
@@ -506,18 +506,17 @@
</div>
</xsl:when>
</xsl:choose>
-
- <div id="document">
-
- <div
class="pure-control-group">
- <label>
-
<xsl:value-of select="php:function('lang', 'Doc type')" />
- </label>
- <select
id="doc_type" name="doc_type">
-
<xsl:apply-templates select="doc_type_filter/options"/>
- </select>
- </div>
-
+ <xsl:choose>
+ <xsl:when test="documents !=
''">
+ <div id="document">
+ <div
class="pure-control-group">
+ <label>
+
<xsl:value-of select="php:function('lang', 'Doc type')" />
+ </label>
+ <select
id="doc_type" name="doc_type">
+
<xsl:apply-templates select="doc_type_filter/options"/>
+
</select>
+ </div>
<xsl:for-each
select="datatable_def">
<xsl:if
test="container = 'datatable-container_0'">
<xsl:call-template name="table_setup">
@@ -531,20 +530,22 @@
</xsl:if>
</xsl:for-each>
</div>
- <div id="related">
- <xsl:for-each select="datatable_def">
- <xsl:if test="container =
'datatable-container_1'">
- <xsl:call-template
name="table_setup">
- <xsl:with-param
name="container" select ='container'/>
- <xsl:with-param
name="requestUrl" select ='requestUrl' />
- <xsl:with-param
name="ColumnDefs" select ='ColumnDefs' />
- <xsl:with-param
name="tabletools" select ='tabletools' />
- <xsl:with-param
name="data" select ='data' />
- <xsl:with-param
name="config" select ='config' />
- </xsl:call-template>
- </xsl:if>
- </xsl:for-each>
- </div>
+ </xsl:when>
+ </xsl:choose>
+ <div id="related">
+ <xsl:for-each
select="datatable_def">
+ <xsl:if test="container
= 'datatable-container_1'">
+
<xsl:call-template name="table_setup">
+
<xsl:with-param name="container" select ='container'/>
+
<xsl:with-param name="requestUrl" select ='requestUrl' />
+
<xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+
<xsl:with-param name="tabletools" select ='tabletools' />
+
<xsl:with-param name="data" select ='data' />
+
<xsl:with-param name="config" select ='config' />
+
</xsl:call-template>
+ </xsl:if>
+ </xsl:for-each>
+ </div>
<xsl:choose>
<xsl:when test="check_history != ''">
<script type="text/javascript">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15238],
nelson . guerra <=